mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-20 14:08:30 +07:00
hwmon: (smm665) fix checkpatch issues
fixed: WARNING: please, no spaces at the start of a line #379: FILE: smm665.c:379: + static ssize_t smm665_show_##what(struct device *dev, \$ Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
This commit is contained in:
parent
c9e1498a18
commit
b2ae8f87f4
@ -376,7 +376,7 @@ static ssize_t smm665_show_input(struct device *dev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define SMM665_SHOW(what) \
|
#define SMM665_SHOW(what) \
|
||||||
static ssize_t smm665_show_##what(struct device *dev, \
|
static ssize_t smm665_show_##what(struct device *dev, \
|
||||||
struct device_attribute *da, char *buf) \
|
struct device_attribute *da, char *buf) \
|
||||||
{ \
|
{ \
|
||||||
struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \
|
struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \
|
||||||
|
Loading…
Reference in New Issue
Block a user