]> git.baikalelectronics.ru Git - kernel.git/commit
iio: accel: st_accel: Move platform data from header to C file
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Apr 2021 19:54:48 +0000 (22:54 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:54:21 +0000 (13:54 +0100)
commit254e4f8cd1b0d21ab40f27889d260f22f7a632d7
tree436a85b32ea78568f30bff91d297384f34884e5e
parentade9e4894a80cb07adf376405f97c428f38a7e59
iio: accel: st_accel: Move platform data from header to C file

Platform data is solely used by one file. Don't share it with others.

While at it, drop unneeded anymore __maybe_unused and fix kernel doc
to avoid warning:

  st_accel_core.c:1079: error: Cannot parse struct or union!

by converting to a simple comment. It is described at the declaration.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210414195454.84183-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/st_accel.h
drivers/iio/accel/st_accel_core.c