diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-29 23:34:25 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-10-03 16:00:41 -0400 |
commit | 4e9053231a168646b3e17f4cab6eae3da66f7152 (patch) | |
tree | ad078686d1324e8f80791869e60c70247cedb47b /drivers/i2c/muxes/i2c-mux-gpio.c | |
parent | 25f73ed5c67d17ecf8cefd560f55211cce726086 (diff) |
i2c: remove redundant of_match_ptr
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/muxes/i2c-mux-gpio.c')
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/muxes/i2c-mux-gpio.c b/drivers/i2c/muxes/i2c-mux-gpio.c index 5d4a99ba743e..927a7deafd21 100644 --- a/drivers/i2c/muxes/i2c-mux-gpio.c +++ b/drivers/i2c/muxes/i2c-mux-gpio.c | |||
@@ -279,7 +279,7 @@ static struct platform_driver i2c_mux_gpio_driver = { | |||
279 | .driver = { | 279 | .driver = { |
280 | .owner = THIS_MODULE, | 280 | .owner = THIS_MODULE, |
281 | .name = "i2c-mux-gpio", | 281 | .name = "i2c-mux-gpio", |
282 | .of_match_table = of_match_ptr(i2c_mux_gpio_of_match), | 282 | .of_match_table = i2c_mux_gpio_of_match, |
283 | }, | 283 | }, |
284 | }; | 284 | }; |
285 | 285 | ||