Skip to content

Commit

Permalink
drivers/pps/clients/pps-gpio.c: remove redundant of_match_ptr
Browse files Browse the repository at this point in the history
The data structure of_match_ptr() protects is always compiled in.  Hence
of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <[email protected]>
Cc: Rodolfo Giometti <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Sachin Kamat authored and torvalds committed Nov 13, 2013
1 parent 0128476 commit 1a10bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pps/clients/pps-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static struct platform_driver pps_gpio_driver = {
.driver = {
.name = PPS_GPIO_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(pps_gpio_dt_ids),
.of_match_table = pps_gpio_dt_ids,
},
};

Expand Down

0 comments on commit 1a10bd9

Please sign in to comment.