Commit 341713f2 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: iio: light: tsl2563: fix static sparse warning



Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent acbbfe23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -607,7 +607,7 @@ static ssize_t tsl2563_show_name(struct device *dev,
	return sprintf(buf, "%s\n", chip->client->name);
}

DEVICE_ATTR(name, S_IRUGO, tsl2563_show_name, NULL);
static DEVICE_ATTR(name, S_IRUGO, tsl2563_show_name, NULL);

static struct attribute *tsl2563_attributes[] = {
	&dev_attr_adc0.attr,