Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp531566lqh; Fri, 31 May 2024 08:35:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWn9Q642iN36pV4hM+02VgMZ/s6S+xu3Qd8NDJGc84vhxt0StAFq+nCWNK52FpORARDgHBUnqqS3IPPmi42Sy8vump/UiD9hbScjYlfJA== X-Google-Smtp-Source: AGHT+IEoFkNFK0W9yly8bZQ6XWlKakwncICuCEmD82EFhTZ8wPlGprQQGGRs98fmquwjsgIeHJBi X-Received: by 2002:a05:6e02:156d:b0:371:3085:434c with SMTP id e9e14a558f8ab-3748b97c5b7mr26947165ab.9.1717169735682; Fri, 31 May 2024 08:35:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717169735; cv=pass; d=google.com; s=arc-20160816; b=E7OT5VW/IyLfXD5wuENQcHkOLj9v10cMrVDa9PwazRdILYZO8waAlYZDM88W0BB1zU JUiZVybHCYZFldv0WSzP5dRlFM4Ft1o06i9rKHT1Lq4sQkW1KYoEVVTt/7VOrxBguI5+ c90fbbkFrMrWd6RkMozCuoy8S25QMlgojqPhHk03nXu27Aof6uhOuuQ0/ghMaT+ASKW+ DOaS0ICkMRZfYzx5d7PwkSYMF2xIS32SusDMswy+SXtPWshgCC0hyAZ5dHQ69+QOIwq4 rs3xgcnvS5X/hc1n9RXenAsgdlY9y0M5r3lzw1hpUj5YkXydTVk8erw3N04LStWw6RgO /KMA== 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=DENtBrVaeSUAgbp2+kjBbOCLt+Z+OzWle3Aa3eQZQZs=; fh=/I2+MeFlGIPpSQ9fHajpP/0ma3mYsLV+c1u13xAw/14=; b=0SpjZdVt6fikVyhd6zUu9neUZ99t/iSgyi+bJS7hWiqRDaw42EdCbnWwOGgjJ9bbKd z0Bt0RgbtMTNz8gLh64gXOimHp6KmMe/v2vdp6Fxbd2STlAfSf8a7ObNZ+Cv5Edqzv+K HQwBHjQcWMRWvrEvIrZxal+ZyqWTo6pnlB4Kumax5qdxZzdVuG4edEFem7EPaAuhIn/n vdeFbBp4JqMMtyKxAd7qQ7Gc/sx0+amPGw4PxgSQxoIUf1ekF8bnNvhYW6yBw9fMheOY VG1KeP272BQIBZLyRL8vtQ5t30xYqwD1vCPgNWKPeBOm7p7i1skxk7dscrcBwk4LExRH lpZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oRi4X51A; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c3540fb17dsi1778735a12.173.2024.05.31.08.35.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 08:35:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oRi4X51A; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197023-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9694EB2D8A2 for ; Fri, 31 May 2024 15:01:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02EF4757E3; Fri, 31 May 2024 15:00:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oRi4X51A" 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 33BAF7406C for ; Fri, 31 May 2024 15:00:51 +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=1717167652; cv=none; b=e7p7y5088IZex/BWzum93O7M1J9HzsY1rvTMv5sjmUThW/ynxkEDAVWqZBKPP7QFITNiB9/VL5KxDKhMnuPTutEuYPzdVBI+/y3M3EX+CTwgh52xraP1eC7MaeKmvzrhxSiWlo+7E80KTPfVgyfBYObZ9MSL9G/nggpdN1UbUhk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717167652; c=relaxed/simple; bh=4RjP91PklYITeHDXwHU/eFtBK/XClAbaP/R273zB7ZQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MC81CUcvkDuyXbxtAwXJamOLaFBB3SGc3UQWmfL9ypz3wIDNSmlzMZo/eALj2e+G/hLB7l/Z5xnRj1bLPd2FVTnC1r3hFjB83A06tWoMrnPP0xrWiejKkpsYqcBudNonPb43iBp7eiQa5dHEbUu78OzSBzYB7KHvtZzCSJvx7tA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oRi4X51A; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E56EFC116B1; Fri, 31 May 2024 15:00:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717167651; bh=4RjP91PklYITeHDXwHU/eFtBK/XClAbaP/R273zB7ZQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oRi4X51AHt2LfXSr7VqBZwUgTjqHCodTz3zfR/DCo4p7t6pw4m11bt6JbGT9SsZdD euGiJmJdUD28qW/Zxt7WUCEvFwbuJtdYVJNZ17yo36xup6JGq54nAgpAvHi0Co4Yj3 ItsQnl1JHU8QrfFGgQvObVC8ffXDdgWbt12UFt8bCfGn9igmybs9sMj/hzAPuKZW9E i2tKLd5C9DARdpYak6RBky0EKNwM1EQPIN83ZiQqmfNg8YEMC4hbDFjrcnsqdC4pZk 8P8RJo0Nn9b9SvGD6kMjAT3YkGb4opNAONzCWM2wppSvLjniYgnvo7lfeueJLxOnJj P0zr0uoT6rZnw== Date: Fri, 31 May 2024 16:00:48 +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: <20240531150048.GO1005600@google.com> References: <20240508104848.846580-1-andriy.shevchenko@linux.intel.com> <20240508104848.846580-2-andriy.shevchenko@linux.intel.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: <20240508104848.846580-2-andriy.shevchenko@linux.intel.com> 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? -- Lee Jones [李琼斯]