mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
commit4bf01ca21eupstream. Make sure to free the rfkill device in case registration fails during probe. Fixes:5e7ca3937f("net: rfkill: gpio: convert to resource managed allocation") Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
186 lines
4.5 KiB
186 lines
4.5 KiB