Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp542331lqh; Fri, 31 May 2024 08:54:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKn+DIUYVtIhJukxbsVAP4OT2ds/Z/gKAm52UxI2mhMDQaIfkwwnWgWFgxnXrBXJFWVv5Ox68fSvKcZ5BboIYtbXnU4ppEUe5zmeTWFg== X-Google-Smtp-Source: AGHT+IGyhuR3NSfOHN7/9+cziAHQE8OHFxRrXcbiXwb6vWTa+wXqC1CY71Rr12sDkx8o9I5+S0GQ X-Received: by 2002:a17:906:a0cc:b0:a5a:896e:d0b4 with SMTP id a640c23a62f3a-a6820516d07mr158488466b.26.1717170896644; Fri, 31 May 2024 08:54:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717170896; cv=pass; d=google.com; s=arc-20160816; b=hXkNFF0KFrIF1q3s45nog8IL1B+ax3L/orhwrg22t2IjvC5fN5U2UAH0Gh2fXmmF2f VmIbooJ6HRsli5u6qisgfuWcJRB/+g6lov+QDFAdlul00qfLHpiTDloedSAnkdubxjtr dNZw8TMdHmPwOBxSOZiU1ycNV8sT2cinKVGRcVW0vwf2VdNqkzr0PQagehgAvK2GY4e9 0LhuJXrvE5E8MluYFXslMfZPlaP+/adi+bPhjyf29mHNyV7WTHdis0ScfIisxE+WfdrK SSxk3ZGw9KjELzuHCTVPcn+ccZdzaiTq2tvKWfJ3H8wOQmvVYuIDRhc8i6pekNCdh9m3 filQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GXX1oFl6LUuuz0kb/guRIPHxneqTqDPqsrJ5UCMCYsI=; fh=/I2+MeFlGIPpSQ9fHajpP/0ma3mYsLV+c1u13xAw/14=; b=lPPUZdaJAokEwtsAY6YVQLCguZvf47WVFvqxlO7v7OBzSmxPQXWHg9FqYjM37o+XC2 3YIMiCpJvnD1C0oQj05P+ZPyIEB44h3RCCylprF+cZtxHcX1cWuKFKmaBntYLNgthSWx iXsjdn0mGUDiak6fbUcO6quygCADp05BQ2HamhH9hYovesT5aF4dJ6ooIs4CZmaLUdG/ 4Qou4EABTXThEu3f+M6B07grSeO+Meh2oOoR8o9Fr/C8E2+7Xb+F9CnoRwcd9+TWcN7h vNtF4mgiu6M0WUy9kfclz6kaA6YrmnE558n7YZisQK9589wKf0dQreWbrQvu2uPhnfpH FY8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=elcuDqdf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197100-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197100-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a67eae7095esi105044166b.798.2024.05.31.08.54.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 08:54:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197100-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=elcuDqdf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197100-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197100-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5B6831F24EBF for ; Fri, 31 May 2024 15:54:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D381F15666B; Fri, 31 May 2024 15:54:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="elcuDqdf" 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 0DC93612EB for ; Fri, 31 May 2024 15:54:48 +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=1717170889; cv=none; b=lKIsyib6VgaCcv6RzUh8nGm4JVpIDiI99vxf9oU0bHCX2NUFOmtNroQ4UxT+KtY0gIcO3GvJDYsO7/A527F4V3h3wQvU8f3uSp52Vwao8+Q3y06mdgo/RIyDpH20XHrsI5cAzYqXqTADGXdYCtISLlwYrtglUzNi9HLg+zM94SY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717170889; c=relaxed/simple; bh=B7BX6PlfxUf3Oo3F1/fcApuOuN36L45G+Q0APZKbIkI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eSDXObLwuDW7IJphMtGDoGImEOk7bnNdRcm6ZfJV6SQlvNKKh4PqL5pVSGkzVCRZ/5MRV3BAKSX2dI1mNi0bE3bSVIvIyE36XODN7RzihA12qblm2HDSEZ4PO1Gc8AeiANA1SZB6GtWwB7zWDKvIDE/PIdbdxtoozzIR0Qr3hrE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=elcuDqdf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFE56C116B1; Fri, 31 May 2024 15:54:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717170888; bh=B7BX6PlfxUf3Oo3F1/fcApuOuN36L45G+Q0APZKbIkI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=elcuDqdf34d/9zQ7pDmwPOnAOD93laXz2cXaWa89AUHlaxzMiO534W7xgpZEYcq3m UYbdWgJCi3Jc75Lg4DRiaGJEzvL6J9qXLsxLfrwUwj/NLHnVddCnca2BF4xKFAS/t3 vfkQU2LBzOsZdqHETGC/UZeysgrw2N18Lv5Sr0id5S61b4ltLs+ww76FdNS+GIJGWh spNWO6Rm5e0wIK61fMe9sMX7yfP/e3iV5BqOYmfdYcjAjAJ1trOQ84eQ7hvYU7y77y Tp6VRjz5QY0SjFH27GK9wgVltXPQXbaPaGcBFM2N57KmQxDe8lyPKoXTCPRhdD1vZL KyNhVEHiV+G3g== Date: Fri, 31 May 2024 16:54:45 +0100 From: Lee Jones To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, Linus Walleij Subject: Re: [PATCH v1 1/2] mfd: lm3533: Hide legacy platform data in the driver Message-ID: <20240531155445.GS1005600@google.com> References: <20240508104848.846580-1-andriy.shevchenko@linux.intel.com> <20240508104848.846580-2-andriy.shevchenko@linux.intel.com> <20240531150048.GO1005600@google.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, 31 May 2024, Andy Shevchenko wrote: > On Fri, May 31, 2024 at 04:00:48PM +0100, Lee Jones wrote: > > On Wed, 08 May 2024, Andy Shevchenko wrote: > > > > > First of all, there is no user for the platform data in the kernel. > > > Second, it needs a lot of updates to follow the modern standards > > > of the kernel, including proper Device Tree bindings and device > > > property handling. > > > > > > For now, just hide the legacy platform data in the driver's code. > > > > Why not just rip it out entirely? > > You mean the driver? The unused platform data. -- Lee Jones [李琼斯]