Commit 629d1a90 authored by Ritesh Harjani (IBM)'s avatar Ritesh Harjani (IBM) Committed by Madhavan Srinivasan
Browse files

pseries/papr-hvpipe: Fix style and checkpatch issues in enable_hvpipe_IRQ()



While at it let's also fix the similar style issue in
enable_hvpipe_IRQ() function. This also fixes a minor checkpatch warning
which I got due to an extra space before " ==".

Signed-off-by: default avatarRitesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: default avatarMadhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/1174f60d0ae128e773dbefd11dd8d46d69e7f50e.1777606826.git.ritesh.list@gmail.com
parent fe53d2ae
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -698,15 +698,14 @@ static int __init enable_hvpipe_IRQ(void)

	/* hvpipe events */
	np = of_find_node_by_path("/event-sources/ibm,hvpipe-msg-events");
	if (np != NULL) {
		request_event_sources_irqs(np, hvpipe_event_interrupt,
					"HPIPE_EVENT");
		of_node_put(np);
	} else {
		pr_err("Can not enable hvpipe event IRQ\n");
	if (!np) {
		pr_err("No device node found, could not enable hvpipe event IRQ\n");
		return -ENODEV;
	}

	request_event_sources_irqs(np, hvpipe_event_interrupt, "HPIPE_EVENT");
	of_node_put(np);

	return 0;
}