imx: Remove boolean parameter from wdog powerdown function
imx_set_wdog_powerdown() is always used to disable the power down
enable bit, so remove the boolean parameter of the function.
It is also a bit strange to write a boolean value into registers,
so this new version makes explicit that we are writing 0.
While at it, rename it to imx_wdog_disable_powerdown().
Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com>
Showing
- arch/arm/include/asm/mach-imx/sys_proto.h 1 addition, 1 deletionarch/arm/include/asm/mach-imx/sys_proto.h
- arch/arm/mach-imx/init.c 5 additions, 5 deletionsarch/arm/mach-imx/init.c
- arch/arm/mach-imx/mx6/soc.c 1 addition, 1 deletionarch/arm/mach-imx/mx6/soc.c
- arch/arm/mach-imx/mx7/soc.c 1 addition, 1 deletionarch/arm/mach-imx/mx7/soc.c
Please register or sign in to comment