mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 09:20:17 +00:00
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>
This commit is contained in:
parent
9b3521ee8f
commit
c962f7b95c
@ -673,7 +673,7 @@ static struct spi_driver hx8357_driver = {
|
||||
.probe = hx8357_probe,
|
||||
.driver = {
|
||||
.name = "hx8357",
|
||||
.of_match_table = of_match_ptr(hx8357_dt_ids),
|
||||
.of_match_table = hx8357_dt_ids,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user