mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
Merge branch 'thermal-int340x'
Merge a fix for the attr.show callback prototype in the int340x thermal driver (Kees Cook). * thermal-int340x: thermal: int340x: Fix attr.show callback prototype
This commit is contained in:
commit
a12475f91b
@ -68,7 +68,7 @@ static int evaluate_odvp(struct int3400_thermal_priv *priv);
|
||||
struct odvp_attr {
|
||||
int odvp;
|
||||
struct int3400_thermal_priv *priv;
|
||||
struct kobj_attribute attr;
|
||||
struct device_attribute attr;
|
||||
};
|
||||
|
||||
static ssize_t data_vault_read(struct file *file, struct kobject *kobj,
|
||||
@ -311,7 +311,7 @@ end:
|
||||
return result;
|
||||
}
|
||||
|
||||
static ssize_t odvp_show(struct kobject *kobj, struct kobj_attribute *attr,
|
||||
static ssize_t odvp_show(struct device *dev, struct device_attribute *attr,
|
||||
char *buf)
|
||||
{
|
||||
struct odvp_attr *odvp_attr;
|
||||
|
Loading…
Reference in New Issue
Block a user