Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1883969rdb; Wed, 31 Jan 2024 12:03:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFO4F1XqJYXodoJX1/anN5Lmi5BR+GWjgviMXbdFHStpFymlCkhsEt4O0hhSOyxSAWNFSPW X-Received: by 2002:a05:620a:5628:b0:783:6b97:dfe5 with SMTP id vv8-20020a05620a562800b007836b97dfe5mr237615qkn.23.1706731383231; Wed, 31 Jan 2024 12:03:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706731383; cv=pass; d=google.com; s=arc-20160816; b=pKZK8t38MwCpygrO/S7nSMOjQ3aXz7LOawQbLVn4r0cTpOnaAt272LX2A+pyMNSvaW CrcEF29vraVxbPzrQDTq5VjYjajqU90XcGVi4g6c7y3p81DxGLxOpx/1SLIJ6VU80UKG 5JZbdVBtd8C/5kRdMmY1jSKMhhvSsQCdhayNGJxtO5AYjnTtOwOtFUGRj2TLs4Ud4gWP mGM+74GTkImMHrLobFRHIhnvHrhSf/5sOmVD1/st54BbUfgVl+U1KzOyjxjx83V0Tym/ kSApkKN3ijhy/8Um1YQ5UMTfXMvFVC4bx94jyfW34PsWDcG+1c3MgZiJPmgsEWkO67oS R10Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=zprpkozM0tCVIALr5Eipl7GRJJSdJxZD1T2oe3B17e4=; fh=EamyfhoaEAoav6jV/RhiwlVU6qJIwtLVlSa5mkt9hP8=; b=xSKWOh6wT2kltYQbm/twotWu8+ryBHLRrYgbtIDYTUuor2ikCFVi6b0pEcPfXhbsNq xj93DGswxCzNkfS0UKKscXemrH5rIYNjQtK+wiQDgRnxseE8N+fNoQQytyHeIycxQBGd CTzOwF3PIadyHfPwv6CuPcwgb4VZ/svqpxSVM5yNK+MLLSVE5p/i7afjVN/6VSlB8afM 1DaTr5o1fh0eLM4nvkiYbuLBXJ8HUbd35Iz8pVbL6oFkJMLM6Kla5iBAPJaaEQ7HZvVp DEQxqdpW1EiYVPJwmsCKphCbnoYT/+abRk8e7sNMCZ+zaZUVIxjf4C+F42KfJZgG8Nv+ p7Qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gQFT8LE+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-47040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVyLK1ejuS1AbmW/pBCwehQugF9nzOuW7y3LG2uGrX3rFRnpd6O5bvbsJMVXfcSaFmI8eq1ct3os6VJcBwRWLJQbuCAkswkzz4FVMZ4cA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u13-20020a05620a454d00b0078437fe83a0si4145131qkp.739.2024.01.31.12.03.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 12:03:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47040-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=@linaro.org header.s=google header.b=gQFT8LE+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-47040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 01A7E1C23136 for ; Wed, 31 Jan 2024 20:03:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 364EC3F8F9; Wed, 31 Jan 2024 20:02:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gQFT8LE+" Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (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 BCE873EA9D for ; Wed, 31 Jan 2024 20:02:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706731376; cv=none; b=nioWJsSweVLB+9taIyjcsnV+qeKQ7wV3YIHOHhWqnaS1eYxfHDspEwWCll2iUTBF1pmcvKQvP/nuhVZHyKfBDoyaTrEvOAMiqAk4vrpT/rEKy9N/x/SbonbKq+x/rdZAcuzsZ3T1WXRsxpt6MplwpJSiQD5+pfLavQ6HIMv79jQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706731376; c=relaxed/simple; bh=zprpkozM0tCVIALr5Eipl7GRJJSdJxZD1T2oe3B17e4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Ta7XFx75xoyDdLI5qZsQRmQPqBuaaHkJPfMW/Zf8coBfO7ONj3c7WHB6MYLEWDiu4jI91zH7sgtsckBB96c1lECY6+1QO8OMhcfIgoeNnyEpaOR3t6VUOOBJakHIsSSVY24u47COeUc4pd/pJOLq5RNFZrXkakK5FcbO5VAvo0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gQFT8LE+; arc=none smtp.client-ip=209.85.128.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-60406dba03cso2108367b3.0 for ; Wed, 31 Jan 2024 12:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706731372; x=1707336172; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zprpkozM0tCVIALr5Eipl7GRJJSdJxZD1T2oe3B17e4=; b=gQFT8LE+hXsMJf8MNDJkrJWOBiD5JMqccbtkb2YhWekF/ONUzRABqQTr6mq1luPmvp TiARxOOgcPus1ejXpOzQd2zO5283HBLspmoa7NwpEle+mitGNhbvF0R0TF5ZUvVjPihY 2GhUIYmcQpOc6frqN1vF0VrX3t0PlMLX2gbEdlg0tLe7fKALNpSMUwvG/hX34M7Op0BP kRuh9WqJGKj13R9d3ZNEgiM30WpaxaDDTa7oVg806/vxg7+fig4vJfBLPp/8ODWUVHEi MiwjUVUGk9xJsxmZfESNHM3PPiC57YWCTZvw/cD0vgS3AcbWdpO42vAUXZMBHbY0d6lB ubjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706731372; x=1707336172; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zprpkozM0tCVIALr5Eipl7GRJJSdJxZD1T2oe3B17e4=; b=n6hF7dBc+jENVddc17mCgNGGx8U0vXiVBvaCTdm8dlJM3HdbBiY/dG69V105XOV9qK 0pqDCrCZGDPKdqOwy99JWUon/lZORIW1J3qGfihpZvi+VH7cRZkrMmJnK2ZrgpJ5t5ve pGN3ifzcmGXXhor74MPEi89M7hpp9rLoniWRoutmZAH3j7onDaOsJoxIb/qLW9MD/EVF up5prQdjUfWP+4PxCrJpnrRo4U6rLN5NxzCmvrbR5NVJtMUNIK/+g5ylis+WHcj0hABR notLQRKdu+HQR2l0a7pR+OYR2F7shEBPeUj6kzcpOCTwx6mtNseE/NnhZIY4QgjIEwIA Id1g== X-Gm-Message-State: AOJu0YxMzv+01RCDyX1FtesDY3MH/5UJwYdeGIvSIIYzNYCZ3inWyWl/ sUCno0rZBDgVJo5SW7eUDaQvl8nyTLVGi09cBxQFhMWr+Rw2bDxhDBX5BhTVl5xSXh0FJGbGqz5 X7E9jMCxBRpu9BhEG+CNNDH3tIDxAQrs/XtsX+w== X-Received: by 2002:a0d:db55:0:b0:602:d2e8:93ec with SMTP id d82-20020a0ddb55000000b00602d2e893ecmr130081ywe.26.1706731372679; Wed, 31 Jan 2024 12:02:52 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240130124828.14678-1-brgl@bgdev.pl> <20240130124828.14678-12-brgl@bgdev.pl> In-Reply-To: <20240130124828.14678-12-brgl@bgdev.pl> From: Linus Walleij Date: Wed, 31 Jan 2024 21:02:41 +0100 Message-ID: Subject: Re: [PATCH 11/22] gpio: remove unneeded code from gpio_device_get_desc() To: Bartosz Golaszewski Cc: Kent Gibson , Alex Elder , Geert Uytterhoeven , "Paul E . McKenney" , Andy Shevchenko , Wolfram Sang , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2024 at 1:48=E2=80=AFPM Bartosz Golaszewski = wrote: > From: Bartosz Golaszewski > > The GPIO chip pointer is unused. Let's remove it. > > Signed-off-by: Bartosz Golaszewski Oups I think it was used at one point but we probably factored ourselves away from using it. Reviewed-by: Linus Walleij Yours, Linus Walleij