summaryrefslogtreecommitdiffstats
path: root/drivers/soc/fsl/qe/ucc.c
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2019-05-13 11:14:57 +0000
committerLi Yang <leoyang.li@nxp.com>2019-06-05 14:26:14 -0500
commitd7fc5963664198d25ca525f120f72ff053ba334f (patch)
tree24bb8ebcf4f61f603a38c63d90450c4b75ad1edc /drivers/soc/fsl/qe/ucc.c
parent875f2aabfcfa321dd39298849e3833b44ee54b4d (diff)
downloadlinux-d7fc5963664198d25ca525f120f72ff053ba334f.tar.bz2
soc: fsl: qe: introduce qe_get_device_node helper
The 'try of_find_compatible_node(NULL, NULL, "fsl,qe"), fall back to of_find_node_by_type(NULL, "qe")' pattern is repeated five times. Factor it into a common helper. Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Qiang Zhao <qiang.zhao@nxp.com> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/fsl/qe/ucc.c')
0 files changed, 0 insertions, 0 deletions