diff options
author | 2022-09-22 09:48:59 +0200 | |
---|---|---|
committer | 2022-09-25 14:22:11 -0700 | |
commit | 847a3b04b32ee36b9049d48da23d70ee83cf6d0a (patch) | |
tree | c7256960b7ef4219f5a5cd55ea2209fe1143b6be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: Make use of devm_clk_get_enabled() (diff) | |
download | wireguard-linux-847a3b04b32ee36b9049d48da23d70ee83cf6d0a.tar.xz wireguard-linux-847a3b04b32ee36b9049d48da23d70ee83cf6d0a.zip |
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