summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-09-24 16:57:37 +0300
committerGuenter Roeck <linux@roeck-us.net>2022-09-26 00:22:11 +0300
commit50e52c1fc5cecfac52287a2227d8883b32963876 (patch)
treee5395f3d4dbb16c8c159949d9692cbe5979d52e1 /tools/perf/scripts/python/export-to-postgresql.py
parent8887516f01066375d70162a978b3fd9d73695878 (diff)
downloadlinux-50e52c1fc5cecfac52287a2227d8883b32963876.tar.xz
hwmon: (via686a) 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. For an amd64 allyesconfig this even reduces the size of the driver by 3 bytes. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20220924135738.234051-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