diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-09-20 16:56:16 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-09-26 00:22:11 +0300 |
commit | 6c7c469c8074e2bb20c41592f28b81925988b1a7 (patch) | |
tree | b60d944c833363a183249dc1f4b22c35216db584 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 070affa898d2afc64a9633880a520ad21c8cf5cc (diff) | |
download | linux-6c7c469c8074e2bb20c41592f28b81925988b1a7.tar.xz |
hwmon: (vt8231) 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 vt8231_driver.driver.name which breaks a cyclic dependency
between vt8231_probe() and vt8231_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/20220920135617.1046361-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