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

Commit 7d9060ab authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: subsystem_notif: Fix suspicious indent" into msm-4.9

parents f94ab9e8 191015b0
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -149,9 +149,7 @@ int subsys_notif_queue_notification(void *subsys_handle,
					enum subsys_notif_type notif_type,
					void *data)
{
	int ret = 0;
	struct subsys_notif_info *subsys =
		(struct subsys_notif_info *) subsys_handle;
	struct subsys_notif_info *subsys = subsys_handle;

	if (!subsys)
		return -EINVAL;
@@ -159,10 +157,8 @@ int subsys_notif_queue_notification(void *subsys_handle,
	if (notif_type < 0 || notif_type >= SUBSYS_NOTIF_TYPE_COUNT)
		return -EINVAL;

		ret = srcu_notifier_call_chain(
			&subsys->subsys_notif_rcvr_list, notif_type,
			data);
	return ret;
	return srcu_notifier_call_chain(&subsys->subsys_notif_rcvr_list,
				       notif_type, data);
}
EXPORT_SYMBOL(subsys_notif_queue_notification);