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:
parent
7d2a4e5309
commit
3f46b88585
1 changed files with 0 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue