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

Commit ad84bb5b authored by Akinobu Mita's avatar Akinobu Mita Committed by Linus Torvalds
Browse files

topology: convert cpu notifier to return encapsulate errno value



By the previous modification, the cpu notifier can return encapsulate
errno value.  This converts the cpu notifiers for topology.

Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a94247e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ static int __cpuinit topology_cpu_callback(struct notifier_block *nfb,
		topology_remove_dev(cpu);
		break;
	}
	return rc ? NOTIFY_BAD : NOTIFY_OK;
	return notifier_from_errno(rc);
}

static int __cpuinit topology_sysfs_init(void)