mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
staging: iio: dummy: add blank lines after declarations.
This fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations. Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b581c3d9a9
commit
4b4c727519
3 changed files with 3 additions and 0 deletions
|
@ -202,6 +202,7 @@ static struct device iio_evgen_dev = {
|
|||
static __init int iio_dummy_evgen_init(void)
|
||||
{
|
||||
int ret = iio_dummy_evgen_create();
|
||||
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
device_initialize(&iio_evgen_dev);
|
||||
|
|
|
@ -71,6 +71,7 @@ static irqreturn_t iio_simple_dummy_trigger_h(int irq, void *p)
|
|||
* in the constant table fakedata.
|
||||
*/
|
||||
int i, j;
|
||||
|
||||
for (i = 0, j = 0;
|
||||
i < bitmap_weight(indio_dev->active_scan_mask,
|
||||
indio_dev->masklength);
|
||||
|
|
|
@ -148,6 +148,7 @@ int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev,
|
|||
static irqreturn_t iio_simple_dummy_event_handler(int irq, void *private)
|
||||
{
|
||||
struct iio_dev *indio_dev = private;
|
||||
|
||||
iio_push_event(indio_dev,
|
||||
IIO_EVENT_CODE(IIO_VOLTAGE, 0, 0,
|
||||
IIO_EV_DIR_RISING,
|
||||
|
|
Loading…
Reference in a new issue