diff options
author | Uwe Kleine-König <[email protected]> | 2022-09-19 12:31:54 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2022-09-25 14:22:11 -0700 |
commit | 02e0500553890dd11bb2d20d9b865d0af7a6ec22 (patch) | |
tree | ee84e32aed283b0ddddbbfcac9550193a6fd0272 /net/lapb/lapb_out.c | |
parent | b99152d4f04b379e31db6c1a2dda6b272c92039b (diff) |
hwmon: (pc87360) Introduce a #define for the driver name and use it
Make use of the cpp symbol DRIVER_NAME to set the driver's name and also
as name for devm_request_region(). While at it add a module alias using
the new define.
This is a preparation for the next cleanup commit that removes a cyclic
dependency between pc87360_driver (which references pc87360_probe in
.probe) and pc87360_probe() (which used pc87360_driver.driver.name).
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions