iio: magnetometer: ak8975: Add AK8963
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 9 Jan 2015 23:30:38 +0000 (15:30 -0800)
committerJonathan Cameron <jic23@kernel.org>
Tue, 27 Jan 2015 18:49:59 +0000 (18:49 +0000)
Added AK8963 in the id table. Unfortunately some commercial devices
using caps version ak8963.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c

index 0d10a4b..b13936d 100644 (file)
@@ -813,6 +813,7 @@ static int ak8975_probe(struct i2c_client *client,
 static const struct i2c_device_id ak8975_id[] = {
        {"ak8975", AK8975},
        {"ak8963", AK8963},
+       {"AK8963", AK8963},
        {"ak09911", AK09911},
        {"ak09912", AK09912},
        {}