summaryrefslogtreecommitdiff
path: root/scripts/genksyms
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2020-12-16 15:33:04 +0100
committerVinod Koul <vkoul@kernel.org>2021-01-13 17:28:58 +0530
commitd14f4cce9340a6586512a0eb6bc680dedeaaef14 (patch)
treef22186f645fac25d8e408828b92a8d315334ef2f /scripts/genksyms
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
downloadlwn-d14f4cce9340a6586512a0eb6bc680dedeaaef14.tar.gz
lwn-d14f4cce9340a6586512a0eb6bc680dedeaaef14.zip
phy: phy-brcm-usb: improve getting OF matching data
1. Use of_device_get_match_data() helper to simplify the code 2. Check for NULL as a good practice Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20201216143305.12179-1-zajec5@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions