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

Commit 629c7349 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Greg Kroah-Hartman
Browse files

staging: dgap: properly indent to match open paranthesis



Indent parameters and arguments passed to function calls to match
open paranthesis

Signed-off-by: default avatarIoana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb795c68
Loading
Loading
Loading
Loading
+27 −28
Original line number Diff line number Diff line
@@ -931,8 +931,8 @@ static int dgap_parsefile(char **in)
				brd->u.board.conc1++;

			conc_type = dgap_gettok(in);
			if (conc_type == 0 || (conc_type != CX &&
			    conc_type != EPC)) {
			if (conc_type == 0 ||
			    (conc_type != CX && conc_type != EPC)) {
				pr_err("failed to set a type of concentratros");
				return -1;
			}
@@ -972,8 +972,8 @@ static int dgap_parsefile(char **in)
				brd->u.board.module1++;

			module_type = dgap_gettok(in);
			if (module_type == 0 || (module_type != PORTS &&
			    module_type != MODEM)) {
			if (module_type == 0 ||
			    (module_type != PORTS && module_type != MODEM)) {
				pr_err("failed to set a type of module");
				return -1;
			}
@@ -1351,8 +1351,7 @@ static int dgap_remap(struct board_t *brd)
	if (!request_mem_region(brd->membase, 0x200000, "dgap"))
		return -ENOMEM;

	if (!request_mem_region(brd->membase + PCI_IO_OFFSET, 0x200000,
					"dgap"))
	if (!request_mem_region(brd->membase + PCI_IO_OFFSET, 0x200000, "dgap"))
		goto err_req_mem;

	brd->re_map_membase = ioremap(brd->membase, 0x200000);