OSDN Git Service

iio: st_sensors: announce registered sensors
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 13 Apr 2014 19:08:00 +0000 (20:08 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Apr 2014 10:50:59 +0000 (11:50 +0100)
commit4f544ced19b3d300ac11414b68a676a2c42f6d06
tree24c6de12fce1c4399f501ded5a4d6412eaf6fcb6
parente3c5be2bdae553ddefacc636496f2df21aee31ee
iio: st_sensors: announce registered sensors

It is pretty helpful to know already from dmesg that a certain
device is successfully registered, instead of having to browse
sysfs to see if it's actually there.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Denis CIOCCA <denis.ciocca@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/st_accel_core.c
drivers/iio/gyro/st_gyro_core.c
drivers/iio/magnetometer/st_magn_core.c
drivers/iio/pressure/st_pressure_core.c