iio: hid-sensor-magn-3d: add module alias for autoload
authorAlexander Holler <holler@ahsoftware.de>
Wed, 10 Jul 2013 08:32:00 +0000 (09:32 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:35 +0000 (18:40 +0100)
commita67c385a2e11eac4132909efc3eb9ee030d665a5
tree2d4d6c94d4398194735a782fc07e696ea7246c0e
parent5b812ea536da6ae88f79b48fbde1df8ad1e32ff2
iio: hid-sensor-magn-3d: add module alias for autoload

Add a MODULE_DEVICE_TABLE in order to let hotplug mechanisms automatically
load the driver.

This makes it also possible to use the usual driver name instead of
HID-SENSOR-2000xx which isn't very descriptive in kernel messages.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Acked-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/hid-sensor-magn-3d.c