On 8/27/24 18:37, Marek Vasut wrote: > Neither chip_allow_sleep()/chip_wakeup() is used outside of wlan.c . > Make both functions static and remove both the exported symbol and > entries from wlan.h . > > Make chip_allow_sleep() return error code in preparation for the > follow up patches. > > Move acquire_bus() and release_bus() to avoid forward declaration > of chip_allow_sleep()/chip_wakeup(). > > Signed-off-by: Marek Vasut <marex@xxxxxxx> Reviewed-by: Alexis Lothoré <alexis.lothore@xxxxxxxxxxx> -- Alexis Lothoré, Bootlin Embedded Linux and Kernel engineering https://bootlin.com