Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b57b3296 authored by Jie Cheng's avatar Jie Cheng
Browse files

sensors: unify the poll delay interface name of bmp18x sensor driver



Change the bmp18x sensor poll delay interface name from "delay" to
"poll_delay", because the "poll_delay" is used as uniform interface.

Change-Id: I380c5d32518eacb9f14985424c22c43d7d985658
Signed-off-by: default avatarJie Cheng <rockiec@codeaurora.org>
parent 3ae282c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -445,7 +445,7 @@ static ssize_t set_delay(struct device *dev,
	return count;
}

static DEVICE_ATTR(delay, S_IWUSR | S_IRUGO,
static DEVICE_ATTR(poll_delay, S_IWUSR | S_IRUGO,
				show_delay, set_delay);

static ssize_t bmp18x_enable_set(struct sensors_classdev *sensors_cdev,
@@ -536,7 +536,7 @@ static struct attribute *bmp18x_attributes[] = {
	&dev_attr_pressure0_input.attr,
	&dev_attr_oversampling.attr,
	&dev_attr_sw_oversampling.attr,
	&dev_attr_delay.attr,
	&dev_attr_poll_delay.attr,
	&dev_attr_enable.attr,
	NULL
};