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

Guenter Roeck linux at roeck-us.net
Thu Apr 11 11:15:05 PDT 2024


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



More information about the linux-arm-kernel mailing list