Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp757444lqe; Sun, 7 Apr 2024 02:25:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHIx8V4fq8tHtCDIkFb55XNdFflb+Pm/2Av5zfWyBmlf8NvgoxQi7Spu73Zp+AvD8FWX2yvUiYd11K1VqbspVfRJMH+JTclV7MlqHYPQ== X-Google-Smtp-Source: AGHT+IHYY7jEbFUM9jTj94hWPbq+oy9zolUNc7cUOQKJZCdf3SU0DNSqK+2VOz3vwdsgdGWgzrDK X-Received: by 2002:a05:6a00:3d44:b0:6ec:f282:f4ea with SMTP id lp4-20020a056a003d4400b006ecf282f4eamr6447713pfb.34.1712481899947; Sun, 07 Apr 2024 02:24:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712481899; cv=pass; d=google.com; s=arc-20160816; b=shMpwccZkhiYmlPVXIB+CCLiDMR8yt0ihUmhVNFu6VJIbObEn1DYrXQ+XYwhvmS3sP rF9kYYK8LlBP9tD1ZGLQOCpguTZ/aMwPPdP+R5LiB9q75O3Bfp0yBc4ELlHs97bmq9a7 gnrSzdWffnOXijBzsSKjs6pOJ2uTrppe4u5y4IbkFu9gIsUV4aOEPlQyPO+e/L5StILq YntY+wXBkZZ6IDWQjXbphzm+feb0z/EdvkjYOw2LD/DjI3ZvjkN5Kegb0LnNa7fM3IM3 0fk7FAT1uT1GTIl3mkzCfCvARrm4BdPZWMGgq8eEhPYRTwTLJqf49ysrc5HPz0sBnbRA yCng== 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:organization:message-id:subject :cc:to:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=txYUBd75n3Jws+dLx4TpfNx6XOQtmVdIzZJDJv7/Xeo=; fh=39F/jlWXKAEcXWjOTSXdPfARWgMv2VTjX/osvM9MW+k=; b=HZ2kAi63CjNihTBqUjoBs6TeGAa2LNPwG/XH/J0hiLO+mMMUS1e8kQinCGhBuKg3ch zT1BsPTR/Sx1LVF1zCfOya1VvN5yLF7GwWhe5xxYoi5DE/F4RPa9TohIJP6qyTMzec1u o4ztzUqSBHMKoO9ENTEOrsi7Ugt2+i3Q/2ZXO4h9/XT5fblOudqt3XP3HSILFLsafnDj 0NcxaioP1zBLyrpDtpTTi7MRZYJJrAm0Rossc8d+eH3rZ9EUqAj9qFfAsKKzxiaKwaCB aSN1cgnzxmghg5fQzFiSgyxgSY1tYogpkuJIXMsgK8PtF4h0R6C5E9hTiQmFvSvsqm8z gcXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JHGV5+Hq; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gqEgif3O; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-134300-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134300-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p21-20020a056a000a1500b006e73d547393si4594643pfh.264.2024.04.07.02.24.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 02:24:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134300-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JHGV5+Hq; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gqEgif3O; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-134300-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134300-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 95F2D2822F9 for ; Sun, 7 Apr 2024 09:24:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C69418AE4; Sun, 7 Apr 2024 09:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="JHGV5+Hq"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="GlSSkK2t"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="gqEgif3O"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="w7F2GIM3" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D0BD1803D for ; Sun, 7 Apr 2024 09:24:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712481893; cv=none; b=pOD9io8kaFT5KsdRjb0n/c1L8OKp/5b+4KVtkmw6kPbzNK5yXP+U+ELkTaW/omV58kWU6nMY5MjemXaNmke4gyOrtOovGh36tqPovNkfhk4EP2nWCo1E0ADHtf6QLEPPKUDJ+40J/4K04duKhl4qDCWmKs4ckWXN73O6+fwfFi8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712481893; c=relaxed/simple; bh=XYZphytF9AR8KcBBDmN2fVv0DZs6f7zCKwOOdht76ps=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=MzyQ8estNjWD3Ai50jBRIn58EocImNgjJOwII+lYsV6hGLirq123kb0v/5zbB8G8CTBXVCQh8TjMIOZAY4ix+UAjelf2xrwN2d4ESjI1ubzrmxDbGY8ns2qixg7KARKnplsdHdbgALmi0apRRVQZghbbVWyWZlxVrTUsjVOTXoU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=JHGV5+Hq; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=GlSSkK2t; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=gqEgif3O; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=w7F2GIM3; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id DD44B21B34; Sun, 7 Apr 2024 09:24:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712481890; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=txYUBd75n3Jws+dLx4TpfNx6XOQtmVdIzZJDJv7/Xeo=; b=JHGV5+HqLcytt0sgkmJwaMzVhWT5e+OD5ydtGP+Nwvm5WKF6ehHv+UfCfU+FMU4Saw0wri pPicCWROfkfNxkCMqQDMQaW422gHoDR/4LFushOBMzVvGV2MYJScuJ1DdWq5kB3lta8Q62 lmmdbPp7VCOAJYeA+pybPCfv2dd6ooQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712481890; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=txYUBd75n3Jws+dLx4TpfNx6XOQtmVdIzZJDJv7/Xeo=; b=GlSSkK2tJ0AYMWIP/GbhVaLLuD+aj5phQ6BIvUs1sVK9MsoyYFQZGMHZg/2m0VTl1onXIM 8kEGhc5O/hQ+5+CA== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=gqEgif3O; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=w7F2GIM3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712481888; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=txYUBd75n3Jws+dLx4TpfNx6XOQtmVdIzZJDJv7/Xeo=; b=gqEgif3OKeq01scdUCF4UpGqjYZKwu4qBcmHWqgLHX/U4Ll/Kb97N4HVonYvgn4BQT4jq4 r6JrVpfz0Mof21QddfM/mDzdUOzTzmn2TPPOLbGd9vugSbyI3ucgnlZTpA2pc04ZdhKnq8 CBBNq4NQY9c2WdDJGRS/47qv2mnJL4s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712481888; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=txYUBd75n3Jws+dLx4TpfNx6XOQtmVdIzZJDJv7/Xeo=; b=w7F2GIM3cozb06NYtjJObBkwbGo1bWvCk/CEVLGlqjA6Ll2uqweIktg2IvL9TOQgCf7CWt AMpeN2OkBkI1TxDQ== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 65422132FF; Sun, 7 Apr 2024 09:24:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap2.dmz-prg2.suse.org with ESMTPSA id Qtd8EWBmEmaQUQAAn2gu4w (envelope-from ); Sun, 07 Apr 2024 09:24:48 +0000 Date: Sun, 7 Apr 2024 11:24:45 +0200 From: Jean Delvare To: Lee Jones Cc: LKML Subject: [PATCH] mfd: Tidy Kconfig dependencies Message-ID: <20240407112445.503bcbc6@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-suse-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spamd-Result: default: False [-1.51 / 50.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; BAYES_HAM(-0.00)[16.89%]; FUZZY_BLOCKED(0.00)[rspamd.com]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:98:from]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,suse.de:email,imap2.dmz-prg2.suse.org:helo,imap2.dmz-prg2.suse.org:rdns]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Action: no action X-Rspamd-Queue-Id: DD44B21B34 X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spam-Score: -1.51 Drop unneeded parentheses for clarity and consistency. Signed-off-by: Jean Delvare Cc: Lee Jones --- drivers/mfd/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- linux-6.8.orig/drivers/mfd/Kconfig +++ linux-6.8/drivers/mfd/Kconfig @@ -292,7 +292,7 @@ config MFD_MADERA_SPI config MFD_MAX5970 tristate "Maxim 5970/5978 power switch and monitor" - depends on (I2C && OF) + depends on I2C && OF select MFD_SIMPLE_MFD_I2C help This driver controls a Maxim 5970/5978 switch via I2C bus. @@ -458,7 +458,7 @@ config MFD_EXYNOS_LPASS config MFD_GATEWORKS_GSC tristate "Gateworks System Controller" - depends on (I2C && OF) + depends on I2C && OF select MFD_CORE select REGMAP_I2C select REGMAP_IRQ @@ -473,7 +473,7 @@ config MFD_GATEWORKS_GSC config MFD_MC13XXX tristate - depends on (SPI_MASTER || I2C) + depends on SPI_MASTER || I2C select MFD_CORE select REGMAP_IRQ help @@ -1109,7 +1109,7 @@ config PCF50633_GPIO config MFD_PM8XXX tristate "Qualcomm PM8xxx PMIC chips driver" - depends on (ARM || HEXAGON || COMPILE_TEST) + depends on ARM || HEXAGON || COMPILE_TEST select IRQ_DOMAIN_HIERARCHY select MFD_CORE select REGMAP @@ -1418,7 +1418,7 @@ config MFD_DB8500_PRCMU config MFD_STMPE bool "STMicroelectronics STMPE" - depends on (I2C=y || SPI_MASTER=y) + depends on I2C=y || SPI_MASTER=y depends on OF select MFD_CORE help @@ -2116,7 +2116,7 @@ config MFD_STM32_TIMERS config MFD_STPMIC1 tristate "Support for STPMIC1 PMIC" - depends on (I2C=y && OF) + depends on I2C=y && OF select REGMAP_I2C select REGMAP_IRQ select MFD_CORE -- Jean Delvare SUSE L3 Support