iio:pressure:ms5611: use probed device name
authorGrégor Boirie <gregor.boirie@parrot.com>
Wed, 17 Feb 2016 17:52:50 +0000 (18:52 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 24 Feb 2016 20:40:46 +0000 (20:40 +0000)
commiteac635ebad41b4fa960386fd0b042764f275b4d4
treeb24b42f62461d30e3779950fd76909370f664cfa
parentce5b8fc163619067aab157008daf5719cd38fdd1
iio:pressure:ms5611: use probed device name

Use name of probed device instead of driver's one when registering device.

Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/ms5611.h
drivers/iio/pressure/ms5611_core.c
drivers/iio/pressure/ms5611_i2c.c
drivers/iio/pressure/ms5611_spi.c