Re: [PATCH 15/30] bus: brcmstb_gisb: Clean-up panic/die notifiers

From: Florian Fainelli
Date: Mon May 02 2022 - 11:38:13 EST




On 4/27/2022 3:49 PM, Guilherme G. Piccoli wrote:
This patch improves the panic/die notifiers in this driver by
making use of a passed "id" instead of comparing pointer
address; also, it removes an useless prototype declaration
and unnecessary header inclusion.

This is part of a panic notifiers refactor - this notifier in
the future will be moved to a new list, that encompass the
information notifiers only.

Fixes: 9eb60880d9a9 ("bus: brcmstb_gisb: add notifier handling")
Cc: Brian Norris <computersforpeace@xxxxxxxxx>
Cc: Florian Fainelli <f.fainelli@xxxxxxxxx>
Signed-off-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxx>

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

Not sure if the Fixes tag is warranted however as this is a clean up, and not really fixing a bug.
--
Florian