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

Thermal: dove: Remove redundant use of of_match_ptr

'dove_thermal_id_table' is always compiled in and the driver
is dependent on OF. Hence use of of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

authored by

Sachin Kamat and committed by
Zhang Rui
e0d68afa 1d089e09

+1 -1
+1 -1
drivers/thermal/dove_thermal.c
··· 195 195 .driver = { 196 196 .name = "dove_thermal", 197 197 .owner = THIS_MODULE, 198 - .of_match_table = of_match_ptr(dove_thermal_id_table), 198 + .of_match_table = dove_thermal_id_table, 199 199 }, 200 200 }; 201 201