iio: imu: st_lsm6dsx: st_lsm6dsx: Reorder 'inline' declaration
authorLee Jones <lee.jones@linaro.org>
Fri, 17 Jul 2020 16:55:27 +0000 (17:55 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 20 Jul 2020 08:03:26 +0000 (09:03 +0100)
commitdeb38af452a8dc3bd9951a84507884c50374224b
tree2209d766fb922f49d0c076aa2d42156d81357a78
parentbfec57537f5787135401badefab0a2db240b48d4
iio: imu: st_lsm6dsx: st_lsm6dsx: Reorder 'inline' declaration

Fixes the following W=1 kernel build warning(s):

 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h:487:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h:497:44: warning: ‘st_lsm6dsx_accel_ext_info’ defined but not used [-Wunused-const-variable=]

Cc: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Cc: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h