From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (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 7277E375ADD for ; Thu, 26 Mar 2026 14:12:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774534346; cv=none; b=uVjPGVdrr8GsgMAqSlz2rbvJhtlmD3ERldU6Prn/f2+6HGwLL+nHnTJZqCGgbE7IgRD12mQ4GswUjDDxhR3GrDcrGII+fg3bhSgz5thNH6opmknnffOqdOWDwlU47v9RscDs+18gRc7aBuDXO857gw/0bg9ufIcqVLBjeJiVQns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774534346; c=relaxed/simple; bh=6cZ3vxxb0pI4C+y16nBc6h8C4ywhozxBzEV0QFhCG7Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TxNKMv6omfVVPVtBFgiAdZrX9BLU6EOo0RO1cBJz4vvAjPD+nh6v5Hx84WJNoqo0sHAfEWpAxUNNPRT3LYAqVba0sV5Xq1t44hUpqSPOLSNiyKjoxRHvi+8Yplk+MTvcxijFj6glUxHOkfkZn8RmkgjyxnoLnMpQEOEQWBZbsKw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M8tc/iN/; arc=none smtp.client-ip=209.85.216.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M8tc/iN/" Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-35c06831dd3so1046917a91.2 for ; Thu, 26 Mar 2026 07:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774534338; x=1775139138; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=WQ6aUbygurrGv5Eht9Bc31IiCSe4V69xfJ6COF2gWAY=; b=M8tc/iN/1hd9TaqDFGlWg8lAGk8OTJ0yXdLCkrtgJxru4UJCBkPwXEogu068iB+jsU cMPpm05JtXVrbfNa3eAjh5gVvqEbjJ4GPORNbA0FXvtxvaC5lJB1KAXrMRRdpnRdSzPF eRgvdI2UcK0w+1AAdG6XhKHQQIAY5er5tKuYFRmj6VZW5FUPGXVSiaYlw8bs97TiSRV1 cLneCX5tvpoPH6wSSi8qjITmVbCtvfrGzL2TIzoBQt2LoX6F82Cn79/TJy023VpWv0fY 0pIOPR6rDNHqzNBVbtp/5AB8D2s6T1U6fpwXNhRYzooiJ0rDnxRHwdBVc5rp6nm+UO9g 1pwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774534338; x=1775139138; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=WQ6aUbygurrGv5Eht9Bc31IiCSe4V69xfJ6COF2gWAY=; b=kLu7Pg03irlmjDnAz8vGl0DT4WW7/dKYogzZTfbBjZiHed2d7IbV+z5hydlHI60/ie 8Q7vHwSONUrps1Y6OEKp54vyuWpb77HpZY/EZF5nea2ugR2SgjKwUyZP0+md9XZtC5xX b+C2gnkrYdp8ZPhQ4KMihNMWMvo3LbcGmwyI3JMdVohGDEk//8X8QseIzRfHjRBxkM+U sWLUdTd0ehgsBaaJS9XeDErLthAo64hhBjzYlu9cVWEN5MaJ2m9rBvtqIgnII3N83k0H lovWF6XPtIcLx2j2R5rfQ/rgAkLAB8Y2Goptk1h9Cb8xGBy04xGr/qTe0tjbHxOzJa5i aYag== X-Forwarded-Encrypted: i=1; AJvYcCXB1eTM1JDH5ofGWEsgGRlIGWg9dBfyp6D3fjLRGijW6d5MnvCuZebRFiOPNxTExJDgbwQNSCx4aHRnTmQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yysc0zN7wP2fUq8Ivk/rP6l4R5pv9v4yYF4esOEImkb0yEraKCR hm+JvkYe42WI9p9maZ+884m8ba5vbRsTdj8m1jEjtnxJCW8Ipi0LWCsh X-Gm-Gg: ATEYQzxR1sYYiBzx3AUfY8xOYOBWkIksEGorqyTqT2bXsqkxMceNtt+mxY4QWgMIZ4B s/S8LYOYZVgg30FfGCCYy5UpWz+R7Pg993MhqvDblh4WHtHVqZgvqTuh+rGWdbWARTN5DXuVHPl bFpXFMaC3HVHwygfSAQ7IxQXvnbP9xf05DaMOlhpzVJqMzodUbkcLeoHmfE25xKYYHyUYUrvfL8 FFrRNF6/6+dPYf8jO7OYZ8TVCJg5LfIyusHnYlLiS0JL2g5hLfcPCFev/syywep9Uqp74zBH5pd IYtkCC0z2AIMHta1zbMzb7p0EgwEn5oWRI1/6MK8os17N6xRTnTeEyjNa3jP21uqk5TGfGDTxJY u57rWsQF0/y/0qzjknxLVcS3UUKLmujN7+AzSqAP6Ok3QckLlfzdCAOYItt3lg5o3isv1Wn/yz6 mDaicmHOR6QDAzvwcawbHfA8k3B/sZCK38ktFi X-Received: by 2002:a17:90a:117:b0:35c:f44:c01d with SMTP id 98e67ed59e1d1-35c0f44c0ddmr3937423a91.8.1774534338196; Thu, 26 Mar 2026 07:12:18 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:da43:aeff:fecc:bfd5]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35c22a7b110sm2468500a91.5.2026.03.26.07.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2026 07:12:17 -0700 (PDT) Sender: Guenter Roeck Date: Thu, 26 Mar 2026 07:12:16 -0700 From: Guenter Roeck To: Andy Shevchenko Cc: Bartosz Golaszewski , Jonathan Cameron , David Lechner , Nuno =?iso-8859-1?Q?S=E1?= , Andy Shevchenko , brgl@kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org Subject: Re: [PATCH] hwmon: (ina2xx) drop unused platform data Message-ID: References: <20260326-drop-ina2xx-pdata-v1-1-c159437bb2df@oss.qualcomm.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: On Thu, Mar 26, 2026 at 12:23:20PM +0200, Andy Shevchenko wrote: > On Thu, Mar 26, 2026 at 10:30:00AM +0100, Bartosz Golaszewski wrote: > > Nobody defines struct ina2xx_platform_data. Remove platform data support > > from the drivers which still have it (it's effectively dead code) and > > remove the header. > > Would be nice to see a follow up to convert to use device properties. > But again, I already asked this Q: why do we have two drivers for the > same part? (Probably not to you, Bart) Because the person introducing the iio driver claimed that they needed the iio ABI and were unwilling to create a generic hwmon->iio bridge. Guenter