]> git.baikalelectronics.ru Git - kernel.git/commit
iio: event: use short-hand variable in iio_device_{un}register_eventset functions
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Mon, 21 Sep 2020 10:31:55 +0000 (13:31 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 29 Sep 2020 16:27:05 +0000 (17:27 +0100)
commitb2fb97356fab39c303e66b62b33f993718e19191
treef7e9d14e6b84a73d670b1c83fdd6e07e68f34e8c
parent8a589f22ad9d1782508f254346ef4385fb3a1d20
iio: event: use short-hand variable in iio_device_{un}register_eventset functions

With the recent 'iio_dev_opaque' variable name, these two functions are
looking a bit ugly.

This change uses an 'ev_int' variable for the
iio_device_{un}register_eventset functions to make the code a little easier
to read.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20200921103156.194748-1-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-event.c