commit | d14f4cce9340a6586512a0eb6bc680dedeaaef14 | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <rafal@milecki.pl> | Wed Dec 16 15:33:04 2020 +0100 |
committer | Vinod Koul <vkoul@kernel.org> | Wed Jan 13 17:28:58 2021 +0530 |
tree | f22186f645fac25d8e408828b92a8d315334ef2f | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e [diff] |
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>