diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-12-21 10:02:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-22 16:02:14 (GMT) |
commit | 6fd92d3add999fbcc7178a07cbc6360f66a306ba (patch) | |
tree | 63056b894a6179ab768af52a45cb68e11a664855 /drivers/staging | |
parent | a451521d2229266dae0b876efb5999d82d03850e (diff) | |
download | linux-6fd92d3add999fbcc7178a07cbc6360f66a306ba.tar.xz |
staging: iio: hmc5843: Remove redundant of_match_ptr helper
'hmc5843_of_match' is always compiled in. Hence the helper
macro is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/magnetometer/hmc5843.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/magnetometer/hmc5843.c b/drivers/staging/iio/magnetometer/hmc5843.c index bdb0188..41005b1 100644 --- a/drivers/staging/iio/magnetometer/hmc5843.c +++ b/drivers/staging/iio/magnetometer/hmc5843.c @@ -634,7 +634,7 @@ static struct i2c_driver hmc5843_driver = { .driver = { .name = "hmc5843", .pm = HMC5843_PM_OPS, - .of_match_table = of_match_ptr(hmc5843_of_match), + .of_match_table = hmc5843_of_match, }, .id_table = hmc5843_id, .probe = hmc5843_probe, |