[PATCH 2/6] rtc: brcmstb-waketimer: non-functional code changes

Florian Fainelli f.fainelli at gmail.com
Mon Jan 23 11:20:55 PST 2023


On 1/20/23 11:01, Doug Berger wrote:
> These changes are not intended to affect functionality, but
> simplify the source code. They are performed here to simplify
> review and reduce confusion with other changes in this set.
> 
> Since set_alarm includes the alarm_irq_enable functionality call
> it directly from that function for simplicity (even though it
> does nothing at the moment). The order of the declarations is
> changed to prevent the need for a prototype.
> 
> The function device_init_wakeup() is used to replace the
> functions device_set_wakeup_capable() and device_wakeup_enable()
> since it is equivalent.
> 
> Signed-off-by: Doug Berger <opendmb at gmail.com>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian




More information about the linux-arm-kernel mailing list