Commit 349ee040 authored by Anthony Brandon's avatar Anthony Brandon Committed by Jonathan Cameron

drivers:staging:iio:cdc: Style fix.

Align parameters to parentheses.
Signed-off-by: default avatarAnthony Brandon <anthony@amarulasolutions.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 752d01d9
...@@ -610,27 +610,27 @@ static int ad7150_probe(struct i2c_client *client, ...@@ -610,27 +610,27 @@ static int ad7150_probe(struct i2c_client *client,
if (client->irq) { if (client->irq) {
ret = devm_request_threaded_irq(&client->dev, client->irq, ret = devm_request_threaded_irq(&client->dev, client->irq,
NULL, NULL,
&ad7150_event_handler, &ad7150_event_handler,
IRQF_TRIGGER_RISING | IRQF_TRIGGER_RISING |
IRQF_TRIGGER_FALLING | IRQF_TRIGGER_FALLING |
IRQF_ONESHOT, IRQF_ONESHOT,
"ad7150_irq1", "ad7150_irq1",
indio_dev); indio_dev);
if (ret) if (ret)
return ret; return ret;
} }
if (client->dev.platform_data) { if (client->dev.platform_data) {
ret = devm_request_threaded_irq(&client->dev, *(unsigned int *) ret = devm_request_threaded_irq(&client->dev, *(unsigned int *)
client->dev.platform_data, client->dev.platform_data,
NULL, NULL,
&ad7150_event_handler, &ad7150_event_handler,
IRQF_TRIGGER_RISING | IRQF_TRIGGER_RISING |
IRQF_TRIGGER_FALLING | IRQF_TRIGGER_FALLING |
IRQF_ONESHOT, IRQF_ONESHOT,
"ad7150_irq2", "ad7150_irq2",
indio_dev); indio_dev);
if (ret) if (ret)
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment