Skip to content
Snippets Groups Projects
user avatar
Amey Narkhede authored
If device registration fails, remove sysfs attribute
and if setting bus callbacks fails, unregister the device
and cleanup the sysfs attribute.

Signed-off-by: default avatarAmey Narkhede <ameynarkhede03@gmail.com>
Link: https://lore.kernel.org/r/20210608164559.204023-1-ameynarkhede03@gmail.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
249c9dc6
History
Name Last commit Last update