]> git.ipfire.org Git - thirdparty/linux.git/commit
hwmon: (powerz) Simplify specifying static visibility attribute
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 11 Oct 2024 20:00:49 +0000 (22:00 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 10 Nov 2024 22:48:06 +0000 (14:48 -0800)
commit1d92c936ca18d60638e1a8807d3e3d492c35d65a
treeaadb4333b47946251d9f26f7da91dec6f7fb0d49
parent9df39924c47a95a688762616cb3183610985ab9c
hwmon: (powerz) Simplify specifying static visibility attribute

Use new member visible of struct hwmon_ops to simplify specifying
the static attribute visibility.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Thomas Weißschuh <linux@weissschuh.net>
Message-ID: <c4b4568b-59f6-43ac-8281-536a82ecd6ab@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/powerz.c