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>
This commit is contained in:
Grégor Boirie 2016-02-17 18:52:50 +01:00 • committed by Jonathan Cameron
commit eac635ebad
4 changed files with 8 additions and 6 deletions