Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4087217ybg; Fri, 25 Oct 2019 13:07:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzg96QGVO3GQ81sRnfJtgSkLznlBD89eDoBhBGV0hfhRqzJl3t+t9PhrpqM+bODJrh08MWB X-Received: by 2002:aa7:d38e:: with SMTP id x14mr3932271edq.102.1572034077249; Fri, 25 Oct 2019 13:07:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572034077; cv=none; d=google.com; s=arc-20160816; b=szTbQo2v1Ua7fXsf9G62PHsPlyFK3cnUMaiAsmg/kiPv1stflBLq62GBiGJLPsfjZJ cUusDvWGnvnlGKcD3GmGlBoJQ1QvS5vdi2uBX0LfFIOoo5Lf4rZB99Kdsf2KQpxWHtET 4/LOr54pffkjRgdT6IgZbS7w3Uv8HtLZ6zgxm+Oy5t4q9ufApMHizvD8B5/FSiDd+G4g 3P3NvAMA2MHlo/ZBv9oLpE1nSUqj9iXE4GtWsewSGf3yFTI4z+P5l6gKpnTY38FfpNfH kpnPz5ulM+Kwoh/qUHUnUxWhVU8anfNeRiloeGTeVvAEZdEQGqtx0gocBGMyM0bTdpOb tBZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=N50Dd0BwKrCHAeZk4A17lzm64zQu/57ZOLH9CQ/zcnE=; b=V4HpPNP3QDpmNjufzuwUioGcSVV2OyZCPWQWEMxTzlh69A7DdytXh/4JlX8CW4/Fev TjkTaNXg+hvJAz0QgtG50wxCQ35FSwhQV3e0R9U99/9BFpmNehge3fO4jXxCMxpo8dYw ei3PXHpIn+ocmNOd2ae6Lq9JRlyyYAD59pguxPotip7jrs+7H/UWgxWAe4Y8WgycouEV ZlBjsH80xb92ZDvbAQ8d1JXL/WpL7qwQQCnyi27Esme6G27pTjwnBDCzGT5yw3cZxkv1 AI9gQGWslYIENnJXhbQKIWjTm8IIywVPx6JbIVHgcn7vk6MemY6AY69W4GLJGh2rq/FR ntJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=GbMgHMlP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v46si1834134edc.295.2019.10.25.13.07.31; Fri, 25 Oct 2019 13:07:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=GbMgHMlP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2504462AbfJYMlS (ORCPT + 99 others); Fri, 25 Oct 2019 08:41:18 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:33030 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440311AbfJYMlM (ORCPT ); Fri, 25 Oct 2019 08:41:12 -0400 Received: by mail-lj1-f193.google.com with SMTP id a22so2574815ljd.0 for ; Fri, 25 Oct 2019 05:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N50Dd0BwKrCHAeZk4A17lzm64zQu/57ZOLH9CQ/zcnE=; b=GbMgHMlPuXicUd1jD2lMN2qhtRW8TtquRFBK/Ddk4tseiBp72B5kglvaqT7HytLeBz ERycsML3pLKiOMNp8blGqHqZt1010NyDGfn7LqQaBg6mJbO74s9jsmr3XhByikIXl+at RFzgtUIoBjMXP8kS9sv6NM1bEvcbXcMXINIIY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N50Dd0BwKrCHAeZk4A17lzm64zQu/57ZOLH9CQ/zcnE=; b=KiZCBeZ5vjT4EryyqscTcrHl/QleVsZc++HZ0WlJrx5OMeqvfw/pTdL0AeycJXjEwY zXNtVG870rYQb4NSh/k25ZUrMVJWaT2fSJ5fQ4cXejsCTAMW32rY3ojqTWUavxZ0FeTY h2XcZR76w6AXmnkBLKVZEvSd0qUE8l6bBR4+KtNTwe7sfv4lCpsRAJ7HQxDFUf3aSHRm RwsPkSzRQUC6BmyUSg8VVjkC1T6GAYhc27FjzVJQwUdskrlXGdIIbmWc7xo/JEtwhf+s 8vDDj6wgaen+KWbuxhJpWkHhoGmWhyqqQFYcKwoznN50/jpjoQY1fMKAuhMUru/YsKUN +olA== X-Gm-Message-State: APjAAAUNyuyucin88WZKiUhx5rkR5Id2ii9ewe96ocUH8wvzlXb4S8PL /ibC31anBnxZacJPNf7ggymmzw== X-Received: by 2002:a2e:7815:: with SMTP id t21mr1151982ljc.149.1572007270677; Fri, 25 Oct 2019 05:41:10 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id 10sm821028lfy.57.2019.10.25.05.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 05:41:09 -0700 (PDT) From: Rasmus Villemoes To: Qiang Zhao , Li Yang , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Scott Wood , Valentin Longchamp , Rasmus Villemoes Subject: [PATCH v2 06/23] soc: fsl: qe: avoid tail comments in qe_ic.h Date: Fri, 25 Oct 2019 14:40:41 +0200 Message-Id: <20191025124058.22580-7-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191025124058.22580-1-linux@rasmusvillemoes.dk> References: <20191018125234.21825-1-linux@rasmusvillemoes.dk> <20191025124058.22580-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is consistent with normal kernel coding style and the style used in the struct definition above this one. Signed-off-by: Rasmus Villemoes --- drivers/soc/fsl/qe/qe_ic.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/soc/fsl/qe/qe_ic.h b/drivers/soc/fsl/qe/qe_ic.h index 9420378d9b6b..29b4d768e4a8 100644 --- a/drivers/soc/fsl/qe/qe_ic.h +++ b/drivers/soc/fsl/qe/qe_ic.h @@ -89,11 +89,20 @@ struct qe_ic { * QE interrupt controller internal structure */ struct qe_ic_info { - u32 mask; /* location of this source at the QIMR register. */ - u32 mask_reg; /* Mask register offset */ - u8 pri_code; /* for grouped interrupts sources - the interrupt - code as appears at the group priority register */ - u32 pri_reg; /* Group priority register offset */ + /* Location of this source at the QIMR register */ + u32 mask; + + /* Mask register offset */ + u32 mask_reg; + + /* + * For grouped interrupts sources - the interrupt code as + * appears at the group priority register + */ + u8 pri_code; + + /* Group priority register offset */ + u32 pri_reg; }; #endif /* _POWERPC_SYSDEV_QE_IC_H */ -- 2.23.0