Re: [PATCH] hwmon: (aspeed-g6-pwm-tacho): Drop cpp define only used once

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

 



On Thu, Apr 11, 2024 at 06:01:36PM +0200, Uwe Kleine-König wrote:
> The macro PWM_ASPEED_NR_PWMS is only used once, just use it's value in
> this single code line.
> 

I am not part of the thou-shalt-not-use-defines-if-only-used-once
crowd, so I won't take this patch, sorry.

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