mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
iio: hid-sensors: add/remove blank line
Add a blank line after variable declarations and remove multiple blank line across HID sensor IIO drivers to improve readability and align with kernel coding style. Signed-off-by: Sanjay Chitroda <sanjayembeddedse@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
0c50c9e3b2
commit
a30824bbfb
|
|
@ -282,7 +282,6 @@ int hid_sensor_read_raw_hyst_rel_value(struct hid_sensor_common *st, int *val1,
|
|||
}
|
||||
EXPORT_SYMBOL_NS(hid_sensor_read_raw_hyst_rel_value, "IIO_HID");
|
||||
|
||||
|
||||
int hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st,
|
||||
int val1, int val2)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -314,7 +314,9 @@ static int __maybe_unused hid_sensor_resume(struct device *dev)
|
|||
{
|
||||
struct iio_dev *indio_dev = dev_get_drvdata(dev);
|
||||
struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev);
|
||||
|
||||
schedule_work(&attrb->work);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -322,6 +324,7 @@ static int __maybe_unused hid_sensor_runtime_resume(struct device *dev)
|
|||
{
|
||||
struct iio_dev *indio_dev = dev_get_drvdata(dev);
|
||||
struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev);
|
||||
|
||||
return _hid_sensor_power_state(attrb, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user