diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-09-22 10:48:59 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-09-26 00:22:11 +0300 |
commit | 847a3b04b32ee36b9049d48da23d70ee83cf6d0a (patch) | |
tree | c7256960b7ef4219f5a5cd55ea2209fe1143b6be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0dee25ebc7d315d9ee785ea5f457ae980979ea89 (diff) | |
download | linux-847a3b04b32ee36b9049d48da23d70ee83cf6d0a.tar.xz |
hwmon: (sis5595) 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 use
it instead of all explicit usages of the same string. Also make use of
it instead of sis5595_driver.driver.name which breaks a cyclic dependency
between sis5595_probe() and sis5595_driver that in the next commit allows
to drop some forward declarations.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220922074900.2763331-1-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