Skip to content

Commit c962f7b

Browse files
Sachin Kamattorvalds
authored andcommitted
drivers/video/backlight/hx8357.c: remove redundant of_match_ptr
'hx8357_dt_ids' is always compiled in. Hence of_match_ptr is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9b3521e commit c962f7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/video/backlight/hx8357.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ static struct spi_driver hx8357_driver = {
673673
.probe = hx8357_probe,
674674
.driver = {
675675
.name = "hx8357",
676-
.of_match_table = of_match_ptr(hx8357_dt_ids),
676+
.of_match_table = hx8357_dt_ids,
677677
},
678678
};
679679

0 commit comments

Comments
 (0)