hwmon: (oxp-sensors) Stop passing device structure
authorJoaquín Ignacio Aramendía <samsagax@gmail.com>
Thu, 25 May 2023 14:26:52 +0000 (11:26 -0300)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Jun 2023 13:41:18 +0000 (06:41 -0700)
commit7590e659e063dc45a5743bb4e5eb4a21ee1fd651
tree9882fa59ca6d4ce288e20e76ce77f5c8e038ee29
parent16d60ba8fdc4c6e4745005889dea6ed82b6b5cbd
hwmon: (oxp-sensors) Stop passing device structure

We don't need to pass device structure to write_to_ec() so we remove
that from the function declaration.
The same is valid for pwm_enable() and pwm_disable() as we were passing
the pointer to hand it off to write_to_ec().

Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Link: https://lore.kernel.org/r/20230525142652.41981-1-samsagax@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/oxp-sensors.c