From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4936C46467 for ; Tue, 27 Dec 2022 21:37:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230127AbiL0Vhs (ORCPT ); Tue, 27 Dec 2022 16:37:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229731AbiL0Vhr (ORCPT ); Tue, 27 Dec 2022 16:37:47 -0500 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 944B6E44; Tue, 27 Dec 2022 13:37:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672177066; x=1703713066; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7aRB3Na6+UMGKeVFbVMFj8VMFlINfqaup6ApmodHJro=; b=lKByGZZwoqPILHHiF13X4AtdtlE/7uEZJ3SJvwhKDnvK4RGjbeMCutbk X9AGs4wWe8EMcoknu/0hLiGi3Wax1ujJNeRsPObpdB0+l72EjA3tIYjBT bwEWpswR3t3UENDAvapJFlUdgYFoLYu5wHsxVL/Eq7v0DbseNXHKhgxvy TRkUT84q+OvXMb1Dk6HSyliO8jlFJ7+hPhHpI6QSp47B4Lt/+wKO2WTfw B4Uj2X4YbYRRBe/pNepGYrq3MDvkI6HLq4awOwFu/FYG/Bu/ig9W9e1hn 1wshKHdRJkJDWKlbo7hsgsjb6/XkA4c1zaNylHVCvRt88axiRZqZL58YO g==; X-IronPort-AV: E=McAfee;i="6500,9779,10573"; a="383063320" X-IronPort-AV: E=Sophos;i="5.96,279,1665471600"; d="scan'208";a="383063320" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2022 13:37:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10573"; a="795454719" X-IronPort-AV: E=Sophos;i="5.96,279,1665471600"; d="scan'208";a="795454719" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga001.fm.intel.com with ESMTP; 27 Dec 2022 13:37:42 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pAHdk-000GfT-1C; Tue, 27 Dec 2022 23:37:40 +0200 Date: Tue, 27 Dec 2022 23:37:40 +0200 From: Andy Shevchenko To: Angel Iglesias Cc: linux-iio@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Nikita Yushchenko , Paul Cercueil , Ulf Hansson , "Rafael J. Wysocki" , Andreas Klinger , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/5] iio: pressure: bmp280: Add enumeration to handle chip variants Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon, Dec 26, 2022 at 03:29:20PM +0100, Angel Iglesias wrote: > Adds enumeration to improve handling the different supported sensors > on driver initialization. This avoid collisions if different variants > share the same device idetifier on ID register. As per v1, use pointers in the ID tables. -- With Best Regards, Andy Shevchenko