OSDN Git Service

soc: ti: omap_prm: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Mon, 7 Mar 2022 03:37:36 +0000 (03:37 +0000)
committerNishanth Menon <nm@ti.com>
Fri, 15 Apr 2022 19:31:03 +0000 (14:31 -0500)
commitcabfa5b46573b4e5ded52b4296a831745c6d32b5
tree2e5312f2b38a1d5615ee3844d85ad43b11a90bcb
parentf25d2b2b554133b935e72c61deb40d82287a6f75
soc: ti: omap_prm: Use of_device_get_match_data()

Since omap_prm_id_table all have (and expected to have) data entries,
use of_device_get_match_data() to simplify the code.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20220307033736.2075221-1-chi.minghao@zte.com.cn
drivers/soc/ti/omap_prm.c