summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2019-09-21 01:55:48 +0200
committerThierry Reding <thierry.reding@gmail.com>2019-09-21 03:25:11 +0200
commitd85b9ce198e3689141cce965cb840f1c435ac4d5 (patch)
tree14496c02266ac65e7fe7ad5c72bf03078e87352e /net/ieee802154
parent3d4d85741ad3d880cb432d9121f5563e6a57ff2e (diff)
downloadtalos-op-linux-d85b9ce198e3689141cce965cb840f1c435ac4d5.tar.gz
talos-op-linux-d85b9ce198e3689141cce965cb840f1c435ac4d5.zip
pwm: atmel: Remove unneeded check for match data
Since the driver is now exclusively DT, it only binds if it finds a match in the of_device_id table. But in that case the associated data can never be NULL, so drop the unnecessary check. While at it, drop the extra local variable and store the pointer to this per-SoC data in the driver data directly. Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud