Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: accel: adxl345: Remove unneeded blank lines

Remove unneeded blank lines where they separate the data type definitions
and the macros which are using them.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20220222090009.2060-8-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Andy Shevchenko and committed by
Jonathan Cameron
4781f3e0 b8f83abd

-6
-3
drivers/iio/accel/adxl345_i2c.c
··· 35 35 { "adxl375", ADXL375 }, 36 36 { } 37 37 }; 38 - 39 38 MODULE_DEVICE_TABLE(i2c, adxl345_i2c_id); 40 39 41 40 static const struct of_device_id adxl345_of_match[] = { ··· 42 43 { .compatible = "adi,adxl375", .data = (const void *)ADXL375 }, 43 44 { } 44 45 }; 45 - 46 46 MODULE_DEVICE_TABLE(of, adxl345_of_match); 47 47 48 48 static const struct acpi_device_id adxl345_acpi_match[] = { ··· 59 61 .probe_new = adxl345_i2c_probe, 60 62 .id_table = adxl345_i2c_id, 61 63 }; 62 - 63 64 module_i2c_driver(adxl345_i2c_driver); 64 65 65 66 MODULE_AUTHOR("Eva Rachel Retuya <eraretuya@gmail.com>");
-3
drivers/iio/accel/adxl345_spi.c
··· 41 41 { "adxl375", ADXL375 }, 42 42 { } 43 43 }; 44 - 45 44 MODULE_DEVICE_TABLE(spi, adxl345_spi_id); 46 45 47 46 static const struct of_device_id adxl345_of_match[] = { ··· 48 49 { .compatible = "adi,adxl375", .data = (const void *)ADXL375 }, 49 50 { } 50 51 }; 51 - 52 52 MODULE_DEVICE_TABLE(of, adxl345_of_match); 53 53 54 54 static const struct acpi_device_id adxl345_acpi_match[] = { ··· 65 67 .probe = adxl345_spi_probe, 66 68 .id_table = adxl345_spi_id, 67 69 }; 68 - 69 70 module_spi_driver(adxl345_spi_driver); 70 71 71 72 MODULE_AUTHOR("Eva Rachel Retuya <eraretuya@gmail.com>");