Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2979446imm; Sun, 19 Aug 2018 09:19:31 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwmoAX0p/g8qm55zpZWPojCt5IViZpEUEacC+guZWmCX30Hok5RR5+ZL0ZT3M7bxCTKL/EI X-Received: by 2002:a63:1c07:: with SMTP id c7-v6mr1572777pgc.109.1534695571085; Sun, 19 Aug 2018 09:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534695571; cv=none; d=google.com; s=arc-20160816; b=v7znnLrkY+JCVV9zZv9+5O4IjxwtCODXrxI/fULlFswzwgeC4kKObeVvSk5lXj5iJP rANELKeUPtrodID5awqLIyndTLC3lbvzf3j9nZCcfeVfisAKyzwz41vaTfSeqOdV3vx9 tl6lXdTdhgrjvirwYsdtaDW1baxhtA/jnPAncEYTv7wiChz0hArRe7i6dqDuQqC5GHcu 0nh+TpcwGI7g1p3U+69w1wnMZ+fXXJqmRrS1USK4Jp9wDz4Fz1La8I3mQhg59/lRTqVy Z35ku33G3FPPl+hET/wPB8sZ0WUVtEeKQ1JZVKdhFiKcVZ2f+1FE2y7hO4IT2Iyzf0Ws O+Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=R8WxMj9XhP/yQik1CX+xGngoHZXyTHU5zxltceaos80=; b=d2Y7NhT3XSyLQYBFdFUXPvhar8p1gmA5AT5cRH6HFogyanT7SV5SY397PNYipOqLgi 0veXypZGanxU36ozZ7Cs99qwEPqiSJv6kYtVBseCRfZ6UC4Z5maEBlgh1f9heUoOyZXh 0PeNHTFEZPVzXkLSD7um2jbe16e4lT3R8hykDNeqFECXcV7ERfdxg1OGbu77dLVTzTID EZ6BXYnEmGx/kVFhm0NSWVidh5xZKiuJdw9K/MSc6me5E0ad0b64Fn+duyQz6vCa0yyh jfS7n4cCQtS86kek+bVsCcy5+YzVv8qId67UgV/qlZM4W4S5iGrClzmYX8TwFaircSdy bPSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PUSa+ROr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a35-v6si8235809pla.27.2018.08.19.09.19.15; Sun, 19 Aug 2018 09:19:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PUSa+ROr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726922AbeHST2P (ORCPT + 99 others); Sun, 19 Aug 2018 15:28:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:45724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726582AbeHST2O (ORCPT ); Sun, 19 Aug 2018 15:28:14 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B429B2083A; Sun, 19 Aug 2018 16:16:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1534695376; bh=jx+uiA4PKuymLnsvrYbtw9XLYkHSB1gNm8RsKunHuhU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PUSa+ROrlHAE2/qYZjAWR15H7PAyiZCHUXL2DXBeVeLX3zyEGz0DyWT9QCA/rCcB/ ibvVaN14QEx7xoaMUeHONEcyJRgVbPn4neJpAQFbU1+ga2dIc3cOC74WHuWRlYdEd1 kslvKnt9PQSu2Xa5z+SQ8bQTBbkI9aXlfuzEm2qM= Date: Sun, 19 Aug 2018 17:16:13 +0100 From: Jonathan Cameron To: Tomasz Duszynski Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: pressure: ms5611: remove deprecated compatible strings Message-ID: <20180819171613.0f74335c@archlinux> In-Reply-To: <20180816184915.32138-1-tduszyns@gmail.com> References: <20180816184915.32138-1-tduszyns@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Aug 2018 20:49:15 +0200 Tomasz Duszynski wrote: > Compatible strings tend to follow manufacturer,model format. > In case one wants to do a matching with manufacturer stripped > off he can still do so since SPI/I2C core will try id_table > based matching anyway. > > Signed-off-by: Tomasz Duszynski Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > drivers/iio/pressure/ms5611_i2c.c | 2 -- > drivers/iio/pressure/ms5611_spi.c | 2 -- > 2 files changed, 4 deletions(-) > > diff --git a/drivers/iio/pressure/ms5611_i2c.c b/drivers/iio/pressure/ms5611_i2c.c > index 55fb5fc0b6ea..0469c8ae1134 100644 > --- a/drivers/iio/pressure/ms5611_i2c.c > +++ b/drivers/iio/pressure/ms5611_i2c.c > @@ -117,9 +117,7 @@ static int ms5611_i2c_remove(struct i2c_client *client) > #if defined(CONFIG_OF) > static const struct of_device_id ms5611_i2c_matches[] = { > { .compatible = "meas,ms5611" }, > - { .compatible = "ms5611" }, > { .compatible = "meas,ms5607" }, > - { .compatible = "ms5607" }, > { } > }; > MODULE_DEVICE_TABLE(of, ms5611_i2c_matches); > diff --git a/drivers/iio/pressure/ms5611_spi.c b/drivers/iio/pressure/ms5611_spi.c > index 932e05001e1a..cd11d022208e 100644 > --- a/drivers/iio/pressure/ms5611_spi.c > +++ b/drivers/iio/pressure/ms5611_spi.c > @@ -119,9 +119,7 @@ static int ms5611_spi_remove(struct spi_device *spi) > #if defined(CONFIG_OF) > static const struct of_device_id ms5611_spi_matches[] = { > { .compatible = "meas,ms5611" }, > - { .compatible = "ms5611" }, > { .compatible = "meas,ms5607" }, > - { .compatible = "ms5607" }, > { } > }; > MODULE_DEVICE_TABLE(of, ms5611_spi_matches);