diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2020-12-16 15:33:04 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-01-13 17:28:58 +0530 |
commit | d14f4cce9340a6586512a0eb6bc680dedeaaef14 (patch) | |
tree | f22186f645fac25d8e408828b92a8d315334ef2f /scripts/genksyms | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) | |
download | lwn-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