Re: [PATCH v2] hwmon: Add static visibility member to struct hwmon_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 10, 2024 at 09:35:42PM +0200, Heiner Kallweit wrote:
> 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@xxxxxxxxx>
> ---

Applied, with a minor twist: I renamed hwmon_ops_is_visible to
hwmon_is_visible since the _ops in the function name does not
really add any value.

Thanks,
Guenter




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux