summaryrefslogtreecommitdiffstats
path: root/drivers/soc/tegra/powergate-bpmp.c
diff options
context:
space:
mode:
authorRyder Lee2018-04-16 04:33:34 +0200
committerMatthias Brugger2018-04-17 16:36:44 +0200
commit38d19752a7807392e4517a14c21e7cf1cdddbd2d (patch)
tree1748da688413daca80c1d354a97f187b3d252949 /drivers/soc/tegra/powergate-bpmp.c
parentLinux 4.17-rc1 (diff)
downloadkernel-qcow2-linux-38d19752a7807392e4517a14c21e7cf1cdddbd2d.tar.gz
kernel-qcow2-linux-38d19752a7807392e4517a14c21e7cf1cdddbd2d.tar.xz
kernel-qcow2-linux-38d19752a7807392e4517a14c21e7cf1cdddbd2d.zip
soc: mediatek: use of_device_get_match_data()
The usage of of_device_get_match_data() reduce the code size a bit. Also, the only way to call pwrap_probe() is to match an entry in of_pwrap_match_tbl[], so of_id cannot be NULL. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/tegra/powergate-bpmp.c')
0 files changed, 0 insertions, 0 deletions