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)
commitf2f45a53646fbe026f12f8b64be6a5def1591384
treef7e9d14e6b84a73d670b1c83fdd6e07e68f34e8c
parent32eb9d4116da3734ba22ebccd35bf08434abb201
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