]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (surface_fan) Simplify specifying static visibility attribute
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 11 Oct 2024 19:56:52 +0000 (21:56 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 10 Nov 2024 22:48:06 +0000 (14:48 -0800)
commit041e20ee60409de444e71981ad6941393fb5d7a3
tree8ee7804e73a94e0a5ee831023b595d16a17d49aa
parent5deb42295db7296e9c47f0647cc1eadcd2b4fb49
hwmon: (surface_fan) 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>
Message-ID: <d5d2570c-dfd9-4be5-ad9f-e721be477131@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/surface_fan.c