]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (npcm750-pwm-fan) Remove another unused field in struct npcm7xx_cooling_device
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 30 Apr 2024 19:35:38 +0000 (21:35 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 1 May 2024 14:47:49 +0000 (07:47 -0700)
commit1d4d6733594d407e54153b8e031ba6356ceba81e
treefb1dd94b5ef645f0b9176a375c422ccc7df6ce70
parentcfdafddf161dcafad0bfdf9b4515e19a9bd6f791
hwmon: (npcm750-pwm-fan) Remove another unused field in struct npcm7xx_cooling_device

In "struct npcm7xx_cooling_device", the 'pwm_clk_freq' field is only
written and never used.

Remove it and update npcm7xx_pwm_init() accordingly.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/2ff738663d40ac5ae3d0b4d2e688ff7e36032be8.1714505655.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/npcm750-pwm-fan.c