iio: ak8975: Fix issue with the name
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tue, 29 Apr 2014 15:44:00 +0000 (16:44 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 May 2014 11:01:13 +0000 (12:01 +0100)
commit88cece46acb88c4032d34b8b52796e08a99c34d2
tree7fd1f5df9b1eea6b08627c1be21d5a79c7765d5a
parent89a9430f1e65bc5b0eef78587d54306f813cd028
iio: ak8975: Fix issue with the name

Fixing issue caused by clash of two patches, one adding a name with
the acpi enumeration patch.

54ab3e24 Beomho Seo          2014-04-02 @572   indio_dev->name = id->name;
d913971e Srinivas Pandruvada 2014-03-19  574   indio_dev->name = name;

The name added by commit 54ab3e24 is not required as this is already
added by taking care of case where id is NULL.

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