Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e63f3e7c authored by Konstantin Dorfman's avatar Konstantin Dorfman Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: spss_utils: fix driver module remove



.remove need to remove apps_cmac attribute.

Change-Id: Ic636ee707e831d67059841f1d59cc00e9149ce8c
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent 4a2732a9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -383,6 +383,7 @@ static int spss_create_sysfs(struct device *dev)
static void spss_destroy_sysfs(struct device *dev)
{

	device_remove_file(dev, &dev_attr_apps_cmac);
	device_remove_file(dev, &dev_attr_pbl_cmac);
	device_remove_file(dev, &dev_attr_iar_enabled);
	device_remove_file(dev, &dev_attr_iar_state);