diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-09-19 13:31:54 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-09-26 00:22:11 +0300 |
commit | 02e0500553890dd11bb2d20d9b865d0af7a6ec22 (patch) | |
tree | ee84e32aed283b0ddddbbfcac9550193a6fd0272 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b99152d4f04b379e31db6c1a2dda6b272c92039b (diff) | |
download | linux-02e0500553890dd11bb2d20d9b865d0af7a6ec22.tar.xz |
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 <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220919103155.795151-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions