Re: [PATCH v2] pinctrl: bcm2835: Replace BUG with WARN_ON

From: Florian Fainelli
Date: Thu Jun 24 2021 - 22:39:24 EST




On 6/24/2021 4:51 PM, Jason Wang wrote:
The if condition followed by BUG can be replaced to WARN_ON which is
more compact and formal in linux source.

Signed-off-by: Jason Wang <wangborong@xxxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian