driver: hwmon: emc2305: delete duplicate definition

This structure has been defined in linux/platform_data/emc2305.h.

Signed-off-by: Ken Wang <ken@radxa.com>
This commit is contained in:
Ken Wang 2024-04-18 10:18:51 +08:00 committed by Stephen Chen
commit 3f46b88585

View file

@ -96,20 +96,6 @@ struct emc2305_cdev_data {
unsigned long last_thermal_state;
};
/**
* struct emc2305_platform_data - EMC2305 driver platform data
* @max_state: maximum cooling state of the cooling device;
* @pwm_num: number of active channels;
* @pwm_separate: separate PWM settings for every channel;
* @pwm_min: array of minimum PWM per channel;
*/
struct emc2305_platform_data {
u8 max_state;
u8 pwm_num;
bool pwm_separate;
u8 pwm_min[EMC2305_PWM_MAX];
};
/**
* @client: i2c client;
* @hwmon_dev: hwmon device;