aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2017-03-13 21:07:25 +0200
committerWim Van Sebroeck <[email protected]>2017-06-05 20:38:26 +0200
commita9a02c46624ad112eb07ca26b6a025c1358ed3ad (patch)
tree8db8862575a870cd72ed10df5c116d207c27ad14 /net/lapb/lapb_iface.c
parent58415efe96670b858eb7b5ab066881ae3f1dad25 (diff)
watchdog: s3c2410: Simplify getting driver data
Simplify the flow in helper function for getting the driver data by using of_device_get_match_data() and only one if() branch. The code should be equivalent. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions