aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorSam Shih <[email protected]>2019-09-20 06:49:02 +0800
committerThierry Reding <[email protected]>2019-09-21 03:25:11 +0200
commite6c7c258f035ffec9d8a808c1bc34b6a5beae0ef (patch)
treee82993c16f0aba3f0739ec8f3f4d90865ad30a9c /net/switchdev/switchdev.c
parent9193c16e5a9899e742a862a0fec9bb5235008370 (diff)
pwm: mediatek: Drop the check for of_device_get_match_data()
This patch drop the check for of_device_get_match_data. Due to the only way call driver probe is compatible match. The data pointer which points to the SoC specify data is directly set by driver, and it should not be NULL in our case. We can safety remove the check for the result of of_device_get_match_data(). Signed-off-by: Ryder Lee <[email protected]> Signed-off-by: Sam Shih <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions