iio: st_accel_core: Remove unneeded define
authorRobert Kmiec <robert.r.kmiec@gmail.com>
Thu, 3 Dec 2015 23:54:48 +0000 (00:54 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Dec 2015 17:28:31 +0000 (17:28 +0000)
commitec0096f853fef46000c80bb3fd035d8376d957ac
treea2677a0df7f7fabf21720e58a4a41f75ecac6f2c
parent366e65633cf4f117609965cd6e189f2cd11533d2
iio: st_accel_core: Remove unneeded define

Definition of ST_SENSORS_WAI_ADDRESS was introduced within a very
first commit of this driver, but it was never used.
This address is already defined as ST_SENSORS_DEFAULT_WAI_ADDRESS
in include/linux/iio/common/st_sensors.h

To avoid duplication of the same constant in two different places
called almost exactly the same, the one which was never used
should be removed.

Signed-off-by: Robert Kmiec <robert.r.kmiec@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/st_sensors/st_sensors_core.c