summaryrefslogtreecommitdiffstats
path: root/kernel/async.c
diff options
context:
space:
mode:
authorShrirang Bagul <shrirang.bagul@canonical.com>2017-04-19 16:05:00 +0200
committerJonathan Cameron <jic23@kernel.org>2017-04-26 07:37:53 +0200
commit7383d44b84c94aaca4bf695a6bd8a69f2295ef1a (patch)
tree52b9ea999e3af0d98d3afa4b1a2bb9b550d7ac11 /kernel/async.c
parentstaging: iio: isl29028: move out of staging (diff)
downloadlinux-7383d44b84c94aaca4bf695a6bd8a69f2295ef1a.tar.xz
linux-7383d44b84c94aaca4bf695a6bd8a69f2295ef1a.zip
iio: st_pressure: st_accel: Initialise sensor platform data properly
This patch fixes the sensor platform data initialisation for st_pressure and st_accel device drivers. Without this patch, the driver fails to register the sensors when the user removes and re-loads the driver. 1. Unload the kernel modules for st_pressure $ sudo rmmod st_pressure_i2c $ sudo rmmod st_pressure 2. Re-load the driver $ sudo insmod st_pressure $ sudo insmod st_pressure_i2c Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions