Received: by 10.213.65.68 with SMTP id h4csp2113235imn; Sun, 8 Apr 2018 20:03:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx48NaeKFZhyoJvYOnlLUWjZH0/YEKhokSG5PoQCD/quoGhNX93rRF6cWx8OKsJPNW6JzkefM X-Received: by 2002:a17:902:784c:: with SMTP id e12-v6mr6996783pln.60.1523242992046; Sun, 08 Apr 2018 20:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523242992; cv=none; d=google.com; s=arc-20160816; b=ULQBXuaBqme5Q/bZhiFivcHD4Xb6QrnCvgJtXs/gRJQCq6kjFS2bgK+cBergy8tlKt g1yrKk65z0xSCOv/0BP1brmDqeDxXmgaR54rm4CHKFs3nM8czeUZxnFpcGUrWzgs539B z3v5FR+/tXq/wmrQRb2Dx12iA4S9zvcdJ4f8VC5pA04ODOHATG4HqOEJ4tcBHshKXgzd QdozmtKoiVmd22f4c7ssOG0YiLXMXaQJ1UuNElH4dnRVUkT9QeYO9CP3qbACgmNTknZQ 0NGLF2fjOQTRm73Sfkb54F3Z34eW7ipP8vSxk0r8gwLJdpwOq3zPb7/CWCm4BrDKD8Wu ZvbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=+v9WQtyWltUw9XglfKcpnLZvZU2QF4CRnInjPt8Nkac=; b=WO/6/hPwTRVRBeIMLeSrbwjCUNixEAWpkijM3kl/JGszb+T+B3kq24Fc9F64tw0Szq X3fUeaEoqPwXcPpmfV3ni2CWrRcTbLrL+ucFOzLl1rQ5jc4hKa6S3uGjwSPrknAEOzEo /XDoGC2oVZc8QRf90Zbp+M2EkreOEHXEZvA8grH4IX13f6wvL3BKRzHZ4eiIaH0Zq7r8 i6gWD/dOiz/Cjw1OkrGpm10jaMPJLqF7j9qO3kF1c6IFkLDj0Xbnx7KUnRYqZYbC2vzl rlFK1ZBM+dsOnCXR9yBlKia/dNcZgiZDpdvPwC2l1c/WLXFGB14IgU+F7Ez04g+gYCTQ sFtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=YynI+1JG; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si2271332pgr.138.2018.04.08.20.02.34; Sun, 08 Apr 2018 20:03:11 -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=@microsoft.com header.s=selector1 header.b=YynI+1JG; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755541AbeDIA1X (ORCPT + 99 others); Sun, 8 Apr 2018 20:27:23 -0400 Received: from mail-by2nam03on0102.outbound.protection.outlook.com ([104.47.42.102]:48448 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753174AbeDIA1U (ORCPT ); Sun, 8 Apr 2018 20:27:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+v9WQtyWltUw9XglfKcpnLZvZU2QF4CRnInjPt8Nkac=; b=YynI+1JGexBJBrlOdFT4WqHRlctPRyTkubDUd7GY8tCsB59/x5q/NkP8hnpd3IXDPlcHvEBltcvfCviW4U8czl+8P11ESfEfVGmyoSY0vy3MZs1TSMgUkleKZebSCW+vbvikn/5Hswg5Edq7W4Q1eKFsS1wTOLBUvNp6XSqOXp0= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0885.namprd21.prod.outlook.com (52.132.132.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:27:18 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:27:18 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Lorenzo Bianconi , Lorenzo Bianconi , Jonathan Cameron , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 031/293] iio: magnetometer: st_magn_spi: fix spi_device_id table Thread-Topic: [PATCH AUTOSEL for 4.9 031/293] iio: magnetometer: st_magn_spi: fix spi_device_id table Thread-Index: AQHTz5jztua/H1mxQkWQ1CIwn7/WZw== Date: Mon, 9 Apr 2018 00:23:14 +0000 Message-ID: <20180409002239.163177-31-alexander.levin@microsoft.com> References: <20180409002239.163177-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002239.163177-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0885;7:+YWhW8pyAq5z0Z/QqhZPZxIbFJxi3IBGOk9ry4oJpNjWdGJ92ztd5dsT7vxZ7BEZYb23mapJdkw/Y9g9NseA9SK/0W2arcHPQBKW54GEe034nqGEx3ICjRA9a694ohF5r1Vqa53LMQbwCUtnyhMq5+md6hQuzgQ4O4YykJEis53b95mIAkP/vsoqMNTNWPWWqU9St2/MztD4PeU4bDuG1Gy5/xjTNsfggKNPj9a2l3/yTseuNRaWKYqS+VQVpO1O;20:ShwIDBS/pDCwk/8RzZnelxhtJ8fOfDhGIGSaVH675qzLN9P6Tg04VAACc8seXn2HLFaidt8xE0VNfmm+OZYZ7y5zncXFEq6ZEle7foE69t6UHkzCZ4pFKodPW4+VCgU3m3U3PdppXFdtfKIxIayYz6RTuzDZQi3Gk+DWTHohmjI= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: 92d3c76c-f646-4d9c-68bb-08d59db0a6c2 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0885; x-ms-traffictypediagnostic: DM5PR2101MB0885: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(85827821059158); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:DM5PR2101MB0885;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0885; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(366004)(346002)(376002)(396003)(39380400002)(189003)(199004)(2906002)(68736007)(22452003)(316002)(6512007)(5660300001)(6666003)(54906003)(110136005)(486006)(6486002)(102836004)(36756003)(14454004)(99286004)(86612001)(105586002)(72206003)(106356001)(2900100001)(1076002)(97736004)(10090500001)(3280700002)(5250100002)(6436002)(3660700001)(6116002)(575784001)(3846002)(305945005)(86362001)(66066001)(39060400002)(10290500003)(186003)(81166006)(8936002)(478600001)(476003)(25786009)(81156014)(8676002)(4326008)(7736002)(2501003)(107886003)(6506007)(2616005)(26005)(76176011)(446003)(53936002)(11346002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0885;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: sk6NLPIOUdsisr+Tgwh9we6myF1dwK9rROzQ9CBR32Urr9triWuWd5+zLH6ARNFet859gaEd4wg1l550wetV6uXBco7Vu0UiVUEgQauDgHdSTdaVgvxW678Pjoof8ABuKZ3hTQpMH6GmDzWBsOlpNvxHNnO15C/h8NJgtk73sYvGwXXDee9pbmNVsBIDGYMJZGlX/wbSOHG+7Qcpn/eNyrqiAW+5wxG10eB0d/xeaTP8qZZBbDdCcigJXVpOjg2Ju0f++W6/RqaRB9+qo38pvH0MqHChUgEem/24JtJuZs7sFr29p9PMWI8x8ZKV6+NZ+6B4XdPISEPZwA4+Px+zli7yj3x62bHetwvXoDsd8ngww8FUI5t/g0gUT94W/F3JC48GTx4qGNb1hMOlv3fEXqO/v9lVUb1GpErf0mAY/nE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92d3c76c-f646-4d9c-68bb-08d59db0a6c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:23:14.5342 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0885 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lorenzo Bianconi [ Upstream commit c83761ff0aac954aa368c623bb0f0d1a3214e834 ] Remove LSM303DLHC, LSM303DLM from st_magn_id_table since LSM303DL series does not support spi interface Fixes: 872e79add756 (iio: magn: Add STMicroelectronics magn driver) Signed-off-by: Lorenzo Bianconi Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Levin --- drivers/iio/magnetometer/st_magn_spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iio/magnetometer/st_magn_spi.c b/drivers/iio/magnetome= ter/st_magn_spi.c index 6325e7dc8e03..f3cb4dc05391 100644 --- a/drivers/iio/magnetometer/st_magn_spi.c +++ b/drivers/iio/magnetometer/st_magn_spi.c @@ -48,8 +48,6 @@ static int st_magn_spi_remove(struct spi_device *spi) } =20 static const struct spi_device_id st_magn_id_table[] =3D { - { LSM303DLHC_MAGN_DEV_NAME }, - { LSM303DLM_MAGN_DEV_NAME }, { LIS3MDL_MAGN_DEV_NAME }, { LSM303AGR_MAGN_DEV_NAME }, {}, --=20 2.15.1