From patchwork Tue Feb 13 22:02:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13555761 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FFD2627E1 for ; Tue, 13 Feb 2024 22:03:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861785; cv=none; b=mqQnBqezWgUdiWyWa3hBx0iqyZASPneqPlEdjck1jyVP/+Z0UU7a8G5WzgJNbB/4HYhRVsdrSKuZDXm2ae+v/e3g5zJJ5HfZuOAjQzCRdISa+54HAT+R+PH15zpgh8oAMGgGM/FmMTRb+Pm+EdgRSTFADW2HuhFu9FiTanOxlbU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861785; c=relaxed/simple; bh=0DPP6Qz0Q9rQtsigtC4nC1BLzOQOC0N9GzcWL+h1pnU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aHfeDhWjeM7/f7wqpOB3wRlDN15ynJAUMDfkfTycpKQHLRAa3pzWsurlhZuCZfoWPPDHAB5qJ9BI9tNcvI8rqpMc65tXaBTVT/swinpQwcRN2TqE54tfBQOpPgBf2jtdLcmcWT2mTxgJn+fNYTwsNG3RHtY7wP52CLscWZ1qf0E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=XfrCeWhB; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="XfrCeWhB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=/R9rxQeU7BUXa1RMmyrPVN4ROjK67IZpHdMoXe0Wxtc=; b=XfrCeW hBihKHw8R7S+6MDbH8eYSnLmoJcX28MPmqGsPpBB11dz48CygGM7WS/xviFXFbZr l+aruclM51+T/aLFe+ZrF8DNVO07pSfHomT8xmy+hSGiz8FpQXzGEKOoMABMpIKd ZC76cGTFUKUotao8nHsKXn1iQ91beVFE21JSfho9guu/wULbCkJLY17YPiuY4++6 t6Sy+AkWq2l7WON11uYUVPmOJrIGhL1aLEAsMgY3zSKN6po9EhGmpu2ukEoUoGUU w6vOGMs3Nb734IQG6qI5u3Swyfh5fnwuuLtjfCdPfKStl5MlhRbaUEkmhXi7tQqs ynLZ6fZN3HpgEcYA== Received: (qmail 1211894 invoked from network); 13 Feb 2024 23:02:55 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 13 Feb 2024 23:02:55 +0100 X-UD-Smtp-Session: l3s3148p1@lOVujkoR8N8ujnsZ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Lee Jones , Wolfram Sang , linux-kernel@vger.kernel.org Subject: [PATCH v2 5/6] mfd: tmio: Sanitize comments Date: Tue, 13 Feb 2024 23:02:24 +0100 Message-ID: <20240213220221.2380-13-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213220221.2380-8-wsa+renesas@sang-engineering.com> References: <20240213220221.2380-8-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reformat the comments to utilize the maximum line length and use single line comments where appropriate. Remove superfluous comments, too. Signed-off-by: Wolfram Sang Acked-by: Lee Jones Reviewed-by: Geert Uytterhoeven --- include/linux/mfd/tmio.h | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index f71d4e507dcb..1cf418643da9 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -5,23 +5,23 @@ #include #include -/* tmio MMC platform flags */ +/* TMIO MMC platform flags */ + /* - * Some controllers can support a 2-byte block size when the bus width - * is configured in 4-bit mode. + * Some controllers can support a 2-byte block size when the bus width is + * configured in 4-bit mode. */ #define TMIO_MMC_BLKSZ_2BYTES BIT(1) -/* - * Some controllers can support SDIO IRQ signalling. - */ + +/* Some controllers can support SDIO IRQ signalling */ #define TMIO_MMC_SDIO_IRQ BIT(2) /* Some features are only available or tested on R-Car Gen2 or later */ #define TMIO_MMC_MIN_RCAR2 BIT(3) /* - * Some controllers require waiting for the SD bus to become - * idle before writing to some registers. + * Some controllers require waiting for the SD bus to become idle before + * writing to some registers. */ #define TMIO_MMC_HAS_IDLE_WAIT BIT(4) @@ -32,31 +32,21 @@ */ #define TMIO_MMC_USE_BUSY_TIMEOUT BIT(5) -/* - * Some controllers have CMD12 automatically - * issue/non-issue register - */ +/* Some controllers have CMD12 automatically issue/non-issue register */ #define TMIO_MMC_HAVE_CMD12_CTRL BIT(7) /* Controller has some SDIO status bits which must be 1 */ #define TMIO_MMC_SDIO_STATUS_SETBITS BIT(8) -/* - * Some controllers have a 32-bit wide data port register - */ +/* Some controllers have a 32-bit wide data port register */ #define TMIO_MMC_32BIT_DATA_PORT BIT(9) -/* - * Some controllers allows to set SDx actual clock - */ +/* Some controllers allows to set SDx actual clock */ #define TMIO_MMC_CLK_ACTUAL BIT(10) /* Some controllers have a CBSY bit */ #define TMIO_MMC_HAVE_CBSY BIT(11) -/* - * data for the MMC controller - */ struct tmio_mmc_data { void *chan_priv_tx; void *chan_priv_rx;