summaryrefslogtreecommitdiff
path: root/drivers/acpi/proc.c
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-05-26 16:57:38 +0300
committerWolfram Sang <wsa@kernel.org>2023-06-05 13:03:35 +0300
commitc3cc5c59cb16dbf14d8c52ac4df6650438613b5b (patch)
tree5ad40cdc8f2074b79280656d19f81b3037a03dab /drivers/acpi/proc.c
parent252f211bd0328c6a3d7d30eaf4d59a8363f3d578 (diff)
downloadlinux-c3cc5c59cb16dbf14d8c52ac4df6650438613b5b.tar.xz
i2c: rzv2m: Disable the operation of unit in case of error
The remove and suspend callbacks disable the operation of the unit. Do the same in probe() in case of error. While at it, introduce a helper function rzv2m_i2c_disable() for disabling the operation of the unit and this function is shared between probe error path, remove and suspend callbacks. Reported-by: Pavel Machek <pavel@denx.de> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/acpi/proc.c')
0 files changed, 0 insertions, 0 deletions