diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-10-10 21:35:42 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-11-10 14:48:06 -0800 |
commit | 79bc0af904db647979c735563299c9b0d820e432 (patch) | |
tree | f15c2f6eca3b6b158bef69f5ce29217595d227bd /include/crypto/hash.h | |
parent | edeed7b6666cd02bd7e370b47573d95bc9b0f51c (diff) |
hwmon: Add static visibility member to struct hwmon_ops
Several drivers return the same static value in their is_visible
callback, what results in code duplication. Therefore add an option
for drivers to specify a static visibility directly.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Message-ID: <89690b81-2c73-47ae-9ae9-45c77b45ca0c@gmail.com>
groeck: Renamed hwmon_ops_is_visible -> hwmon_is_visible
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/crypto/hash.h')
0 files changed, 0 insertions, 0 deletions