Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp159345lqp; Mon, 10 Jun 2024 23:39:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhbfC61wvOT1lT4QohDbUs1w2/0FWAEibxlTLa7oFGUxDrLx/FqQ9ozRy6kacfYAZ+eTGt1zPnlBnIJeqKmKGdzWKRtOAk6j/9skDYng== X-Google-Smtp-Source: AGHT+IHPPiJ7/tVu95apOz4UKeePXBPFJHPHiOz7nHvRrAG8BFGPbLjCC6vT/pn897wR+iGiXARD X-Received: by 2002:a17:90a:5381:b0:2c1:a9d5:9b58 with SMTP id 98e67ed59e1d1-2c2bcad11f0mr7863822a91.1.1718087997439; Mon, 10 Jun 2024 23:39:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718087997; cv=pass; d=google.com; s=arc-20160816; b=iS3XIBgxofe+/9mtXHHUp4uvoMqN1/EyPNMeSt3C5KWYmcvK5/YJ3OOwMJGYnB3i/1 Oiknx+S7LFIUtKfqaLELjuRk2tLus3McV+sUI276FSLvLzgT5Z+7JJB75l+57RKt8Dvv ZvbTF8/blJje+fIx1vDNyRTiD4dBr7FyNbqMWjCVzzgDOfLnU477Gf9eeFJqTLocQx/e FLTTvtDCi9OOpkaGe8rJ5F1ftNkqqvTN1rp9U/B2A9m8kPKdNbnaSJ+EKlbVOs1oGZnA roNzvK3xH0LruLgFfkgr3zEuDjN+QzLh7tAetM7rTDPRZF1QktJPtt3deA2ceSZH5gMF MEPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mhiWLd4h/BLmribraKUURLox4AmBmoULeN44jMKixHw=; fh=zIKlGTUgeyGosNBv4SSJMcBGoO2tg5ULLC1yvYYJ0ps=; b=clN/pG6kSu0UDp1AB422q9Rxg2qvh0RsN542QJvFQrLbP8cqZ/zBrSno8sYm7agnVs pMWICHrmeJqmyy9+LK7ELQlWO4/0yC6efYyMOUQk+rAOvcqNBLvi9OcP3JynmSsIaGhg VLPumxGcwhTkY1EYoJpYA9Xhw23LJmBn2ovvLrXeto79hu5SdaENUKLm9yLoGnXMhF95 soM6R8pIb7Fj11SuFTAAzjR4n76wDPASRfS4+221VgT/+O6CxCvybHkOxLXygARlKYJh tbsFZDEcfs4dJxySo/ZMjY9VQD6Zt0TOtuOVtAg/js4NOwPW+SFgBeCM85B3UHSJcgLl FwGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="NgeLaY/f"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-209332-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209332-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2e982922dsi4819627a91.33.2024.06.10.23.39.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 23:39:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209332-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=@linuxfoundation.org header.s=korg header.b="NgeLaY/f"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-209332-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209332-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 DC52E289C8E for ; Tue, 11 Jun 2024 06:37:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75F17171E59; Tue, 11 Jun 2024 06:36:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NgeLaY/f" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 97EE836D; Tue, 11 Jun 2024 06:36:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718087813; cv=none; b=BCnJDUKtm7Am3QoECGs9d7ZCKebmexDqt/cGmFHvCHG6VUS4TbDhlq4Xu2gQpe116H6LuIMqPZMwz0PtPZL1LTdW1pI7feH3ag88tzTc8P5Q0FFLk7yBRld5s6EZvVm5zcisymc10ibMJv2lMfcKZHVTLEyckecaOXFPhtFENFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718087813; c=relaxed/simple; bh=kEYmhqsKfZ6XItxvke50j6y6sh5Pq2ilsON6dHvMVT4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uehRrLEAPNcgmayqn0EPdv8VvSEIj87YiSEhl1XZ559C6/vjS7kvLQkEvNuDRyREpP7jDOqfMb3jFgkb7bvH/KIs+AT0T76Y+k9HzZx0mlL7lgQdR5HVNmieOwiWsTHaWqk5+UmjtSb1gcUTCFD/B49NNZrbYnnY1YHdqhiWGMo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NgeLaY/f; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BDBAC2BD10; Tue, 11 Jun 2024 06:36:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718087813; bh=kEYmhqsKfZ6XItxvke50j6y6sh5Pq2ilsON6dHvMVT4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NgeLaY/ftYKC8OpraxqEzAj1ZftnM72wRvzEaPcRvaeQPTXDprbDqpACX2s3Ktu5w iMhacsY79VZmC787SpYwZ3WZ1bGPFZ0yM0EJ5AaSYGmgxI09klxY9baUr7xcmaMX/m bEbePZpbDgvA/3EAVenfyODU/IrRzD+HLQmli2OM= Date: Tue, 11 Jun 2024 08:36:50 +0200 From: Greg Kroah-Hartman To: Andrew Davis Cc: Linus Walleij , Bartosz Golaszewski , Jonathan Corbet , Rui Miguel Silva , Johan Hovold , Alex Elder , linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, greybus-dev@lists.linaro.org Subject: Re: [PATCH] gpiolib: Remove data-less gpiochip_add() function Message-ID: <2024061143-petition-precision-ebc9@gregkh> References: <20240610135313.142571-1-afd@ti.com> 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-Disposition: inline In-Reply-To: <20240610135313.142571-1-afd@ti.com> On Mon, Jun 10, 2024 at 08:53:13AM -0500, Andrew Davis wrote: > GPIO chips should be added with driver-private data associated with the > chip. If none is needed, NULL can be used. All users already do this > except one, fix that here. With no more users of the base gpiochip_add() > we can drop this function so no more users show up later. > > Signed-off-by: Andrew Davis > --- > Documentation/driver-api/gpio/driver.rst | 5 ++--- > drivers/staging/greybus/gpio.c | 2 +- > include/linux/gpio/driver.h | 4 ---- > 3 files changed, 3 insertions(+), 8 deletions(-) Acked-by: Greg Kroah-Hartman