diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-07-08 07:52:31 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-08-21 06:04:29 -0700 |
commit | 6698cbd624bf3ad4822453b0c3941bf0220f283f (patch) | |
tree | ac88658cbe502f68fc4aef3ae8fe350ea279f4d5 /drivers/hwmon/gxp-fan-ctrl.c | |
parent | c15a8edd63319788356a9fc9a7fe60468a1476d7 (diff) |
hwmon: (lan966x) Use the devm_clk_get_enabled() helper function
Use the devm_clk_get_enabled() helper function instead of hand-writing it.
It saves some line of codes.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/25f2ab4c61d4fc48e8200f8754bb446f2b89ea89.1688795527.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/gxp-fan-ctrl.c')
0 files changed, 0 insertions, 0 deletions