Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sachin Kamat and committed by
Linus Torvalds
c962f7b9 9b3521ee

+1 -1
+1 -1
drivers/video/backlight/hx8357.c
··· 673 673 .probe = hx8357_probe, 674 674 .driver = { 675 675 .name = "hx8357", 676 - .of_match_table = of_match_ptr(hx8357_dt_ids), 676 + .of_match_table = hx8357_dt_ids, 677 677 }, 678 678 }; 679 679