From: Andrew Lunn <and...@lunn.ch> Date: Thu, 9 Mar 2017 20:53:31 +0100
> The hwmon temperature sensor devices is registered using a devm_hwmon > API call. The marvell_release() would then manually free the device, > not using a devm_hmon API, resulting in the device being removed > twice, leading to a crash in kernfs_find_ns() during the second > removal. > > Remove the manual removal, which makes marvell_release() empty, so > remove it as well. > > Signed-off-by: Andrew Lunn <and...@lunn.ch> > Fixes: 0b04680fdae4 ("phy: marvell: Add support for temperature sensor") Applied, thanks.