]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: per-port interrupts are optional
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 17 Apr 2020 18:33:41 +0000 (11:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Apr 2020 22:49:39 +0000 (15:49 -0700)
commite8611e0838d84d35e92b64fbe349085872326381
tree6754dadbbe9085a5f8c382a22ba4a76a9a75a024
parent2565b13ad277383037fa6f4b8d8f45bd0aec0f78
net: dsa: b53: per-port interrupts are optional

Make use of platform_get_irq_byname_optional() to avoid printing
messages on the kernel console that interrupts cannot be found.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_srab.c