Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1295310lqm; Thu, 2 May 2024 10:15:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSwtCwLHjrhPCMmQhvU30Ey4ltuPZPHDSQEdsjN0CmSAL8bQDsPO1SHDSF7jHwZ1rLInBD9T7/1Ti6t25YffbhuF+GQA8fOECOQKIkxA== X-Google-Smtp-Source: AGHT+IHObYoeznpPKTBvVwgTe5wV8rz0xR8c5g+0PC+z+dVV45xwROvbun7RHPxlwALGVSpTq5lE X-Received: by 2002:a05:620a:6228:b0:790:f8c9:12f0 with SMTP id ou40-20020a05620a622800b00790f8c912f0mr237474qkn.1.1714670144342; Thu, 02 May 2024 10:15:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714670144; cv=pass; d=google.com; s=arc-20160816; b=rorVdOyGn+EZzDVU2fLSwVUHfyvWDJb6giqxZKKTSmuOfoV5InPnHpyMKwTkRVzxEv FcebfFBJ1T/Uo88NtIb4PG6qAAJVpe1JuZ3BHbgiMqMjNQvFA7LYITN/SecKOKD2CI4j SbTw0RxwVGMx+/Otxzmr7u8ZycRU9FITrHzj+enNQ9cIHkeAxVr+LdJmnTGDNhsCx32J GJZfc3C82pbVC2IarvOlpDUE49MEvxFTRHJjQHnhvcCIWTmxgv+rbCp8gol4u5EExIZs 5R2+S46tTeUKrkqmvyOMiG+8CBEARuXkEE/9QE1OOGCHZaFlCRBKQM45VYnaZLjJ8zCQ aTWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=1vfotVCdQvZMKVOlhidq7m15k3dGSRdcdbxd5iUQe4E=; fh=5nW5ITY5ylEvHLm8DGkuyXGw8G1y3y/7VgS6xahPMdE=; b=FZc6K0wKQNNAhBra+1fo1cNn2Cbfz7JEBNP3pP3dT2kXBc4QB9ioeIq/oZrDCXv0S8 VLPxOVGXRjHt6/3Adf/1uS0Sa6+XsVe6uNC8cTrMWp7B0BWOMkiy9Jops3/6gdpWcXTR TbGwFN0L3w6Mfq+lllnBuYuPaVL53g0UbYcQwy2N9ONOpViIL/NIRYQ0PsY0WOoVzOB8 VZPYHA7BjuBfgJnIcQZF+bXlF/NbXbByWKWJia6XSKXWxT/8Ir88E5B1JLQaYVzWEQVn CUODBRF3NOF3515l05bn0DEqJlK/4yMyWp97Gy1QfxJhp137yRfGc7qvX/K8y9TTjzmt 1y1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=B+Kqv2Ad; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-166772-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166772-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id po28-20020a05620a385c00b0078d7738682fsi1357195qkn.107.2024.05.02.10.15.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 10:15:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166772-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=B+Kqv2Ad; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-166772-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166772-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BFC581C20ACF for ; Thu, 2 May 2024 17:15:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5724816FF38; Thu, 2 May 2024 17:15:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="B+Kqv2Ad" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (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 8D4DB16F919; Thu, 2 May 2024 17:15:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714670137; cv=none; b=qdi3IXrvSJIXXUOPKs9RqI+5HxJMGx4Kkot7pbvtkOUc9xyDMZcRrYDEs9PMl+VBrJvcnkyobbijFOZP3BFKDkg/AaW9g9LoKvkWco0GEsN/oYy56H1PMeY6YH8SKuPAslNcdrbmWG4oEUIoI4PA7UHBIcVWUsJ3eOauJO+feqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714670137; c=relaxed/simple; bh=FxCQSfOwSoVaJ9cIiOaEfhOOsDhub2N5bNvr17xm9VE=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=WY7CGDQgAdf77xJmDSBhdnCDWQYPGZqKL9dU9Ttzg1ZoqgAq+YGRPhaIMx+958PHHI/ED/c2C3ESiMa6yxFlX+QpcQogewHQcBKM0faqWc9JUvkJIf/lkBRIVwem8y6TxHzs8jSYS7BNwhPZYSdhLtP6YwtyfKOQtZMuxkmdcHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=B+Kqv2Ad; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714670135; x=1746206135; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=FxCQSfOwSoVaJ9cIiOaEfhOOsDhub2N5bNvr17xm9VE=; b=B+Kqv2AdKa3q5wqDAtrOsjVuzkXgyfu/6P9nmx9KqhwrFkJ+gRGasmSR ls5000BtzQFSrh6DuYTYW1woyXDKFxQPIMMadwxGzjBEFMxxGxXD5kvEk n2U7OeGs6xSWQE35r1wktfKvDyl6krSWS3sgY4uzRQtVGMc/JGXCHd5GW f+p1gIcwfIcgvw9G2dRPC3zaSrzYfRlwhOGgncZ5bkoDdFdh02h8QhA/w l9Io3gAEEPVq4HMmlM0iuGezxG4D98eZ8OPBXtxe/hEgCg6Fled4/l6T9 Ju/yET/iOMzlxHKQJ2Q2dRH3oOpRkfdEya27MB0bf1fSCj6ItJpEhxt1A g==; X-CSE-ConnectionGUID: c4LSDASjRvesA9uPeVh/Ng== X-CSE-MsgGUID: nGv6XDXgShauzMkbMrIS9w== X-IronPort-AV: E=McAfee;i="6600,9927,11062"; a="10992810" X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="10992810" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2024 10:15:30 -0700 X-CSE-ConnectionGUID: ugKweYkvRZ6TnT2Sfnxotg== X-CSE-MsgGUID: ZaqU60ZXS6aGgMeePm0TOQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="50382848" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa002.fm.intel.com with ESMTP; 02 May 2024 10:15:30 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id AEC31161; Thu, 2 May 2024 20:15:27 +0300 (EEST) From: Andy Shevchenko To: Mark Brown , Andy Shevchenko , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/1] spi: bitbang: Add missing MODULE_DESCRIPTION() Date: Thu, 2 May 2024 20:15:18 +0300 Message-ID: <20240502171518.2792895-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The modpost script is not happy WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spi/spi-bitbang.o because there is a missing module description. Add it to the module. While at it, update the terminology in Kconfig section to be in align with added description along with the code comments. Signed-off-by: Andy Shevchenko --- drivers/spi/Kconfig | 4 ++-- drivers/spi/spi-bitbang.c | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 17325e0b7bd5..eb283824f174 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -216,11 +216,11 @@ config SPI_BCMBCA_HSSPI explicitly. config SPI_BITBANG - tristate "Utilities for Bitbanging SPI masters" + tristate "Utilities for Bitbanging SPI host controllers" help With a few GPIO pins, your system can bitbang the SPI protocol. Select this to get SPI support through I/O pins (GPIO, parallel - port, etc). Or, some systems' SPI master controller drivers use + port, etc). Or, some systems' SPI host controller drivers use this code to manage the per-word or per-transfer accesses to the hardware shift registers. diff --git a/drivers/spi/spi-bitbang.c b/drivers/spi/spi-bitbang.c index c11af39c9842..ca5cc67555c5 100644 --- a/drivers/spi/spi-bitbang.c +++ b/drivers/spi/spi-bitbang.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later /* - * polling/bitbanging SPI master controller driver utilities + * Polling/bitbanging SPI host controller controller driver utilities */ #include @@ -394,12 +394,12 @@ int spi_bitbang_init(struct spi_bitbang *bitbang) EXPORT_SYMBOL_GPL(spi_bitbang_init); /** - * spi_bitbang_start - start up a polled/bitbanging SPI master driver + * spi_bitbang_start - start up a polled/bitbanging SPI host controller driver * @bitbang: driver handle * * Caller should have zero-initialized all parts of the structure, and then - * provided callbacks for chip selection and I/O loops. If the master has - * a transfer method, its final step should call spi_bitbang_transfer; or, + * provided callbacks for chip selection and I/O loops. If the host controller has + * a transfer method, its final step should call spi_bitbang_transfer(); or, * that's the default if the transfer routine is not initialized. It should * also set up the bus number and number of chipselects. * @@ -407,9 +407,9 @@ EXPORT_SYMBOL_GPL(spi_bitbang_init); * hardware that basically exposes a shift register) or per-spi_transfer * (which takes better advantage of hardware like fifos or DMA engines). * - * Drivers using per-word I/O loops should use (or call) spi_bitbang_setup, - * spi_bitbang_cleanup and spi_bitbang_setup_transfer to handle those spi - * master methods. Those methods are the defaults if the bitbang->txrx_bufs + * Drivers using per-word I/O loops should use (or call) spi_bitbang_setup(), + * spi_bitbang_cleanup() and spi_bitbang_setup_transfer() to handle those SPI + * host controller methods. Those methods are the defaults if the bitbang->txrx_bufs * routine isn't initialized. * * This routine registers the spi_controller, which will process requests in a @@ -418,7 +418,7 @@ EXPORT_SYMBOL_GPL(spi_bitbang_init); * * On success, this routine will take a reference to the controller. The caller * is responsible for calling spi_bitbang_stop() to decrement the reference and - * spi_controller_put() as counterpart of spi_alloc_master() to prevent a memory + * spi_controller_put() as counterpart of spi_alloc_host() to prevent a memory * leak. */ int spi_bitbang_start(struct spi_bitbang *bitbang) @@ -451,4 +451,4 @@ void spi_bitbang_stop(struct spi_bitbang *bitbang) EXPORT_SYMBOL_GPL(spi_bitbang_stop); MODULE_LICENSE("GPL"); - +MODULE_DESCRIPTION("Utilities for Bitbanging SPI host controllers"); -- 2.43.0.rc1.1336.g36b5255a03ac