Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3431488yba; Tue, 23 Apr 2019 03:48:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRbstP6MU0wToo1471Yf8tCNKn2hdd7gqEXdR15QiRYXXp+8MZ19CwLrPSB72mRaUgz8BS X-Received: by 2002:a63:e004:: with SMTP id e4mr24147088pgh.344.1556016535688; Tue, 23 Apr 2019 03:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556016535; cv=none; d=google.com; s=arc-20160816; b=mShVdfjp1TCgLfFgyfU8+mK7I2qn8vwRNkmMRXgvmgwXToySZWoJXiFnwI3yHRv86C 9XWF7h2AXpKyofGSSNego9sXHwDqxWG58zV9XfeD7eL4SVv5OKrhzZvRLNDH//Y/z1YC UQZvSVTK+WIUp9N25ziYBUbTLU28CjMH9pdJaWlsecNbuPMnNP3BjSLsquLDNEVNLNqf zPK/ZFIJwitsjMYt8oG9NBtaP+qGI8OF8YMUoujWysQixnq7rRVNkEgEMeaCqoH387aB qCdkV9GqLhZVh7ybFzGkSyoP1ONW96GkPe/Dy7uW0EdDD0ZEzVI9gvoPeMOpzd9z1qPe uUbA== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=Qrfg9MidvALwNhszPgwQhtMWz5vUUsbMcyPEP6uOPRM=; b=TD0lZcVxI83Dau2RbQa1MS0nCyIJ2XW3Rxxuob4i/PLF/r42km3kwVed70tEnXhuc4 u4PnpuZg4NcVDj9K5Dq5hLITmcHlurtfEYPKZf8XFQqcTf6e0FGdWI6+89EZOWKG0s/4 fvUzUdy/MsQb+to8hBU32IHxRF1njuUCcHoSEddUicRvZEAq5nHzlJNmvLn4HFUaupkS F9RD5IO97Bt+/eCthQjUbwj0Tr6j8ufvmKo5IGcFuG6OjRVcp2tJu7PiRCI0YvCKEIK6 joYGy7nLeZEaDZ345TnDRc59fUheGtC0s2+jZxGiGAmRZFXlTYSvXDyZ6M/RB95N9Cax cDBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=ctO8sNKY; 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si10194068pgp.158.2019.04.23.03.48.40; Tue, 23 Apr 2019 03:48:55 -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=@nxp.com header.s=selector1 header.b=ctO8sNKY; 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727525AbfDWKqa (ORCPT + 99 others); Tue, 23 Apr 2019 06:46:30 -0400 Received: from mail-eopbgr00049.outbound.protection.outlook.com ([40.107.0.49]:29070 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727504AbfDWKq2 (ORCPT ); Tue, 23 Apr 2019 06:46:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qrfg9MidvALwNhszPgwQhtMWz5vUUsbMcyPEP6uOPRM=; b=ctO8sNKYv05hLXgBIjhLDV0fcDgjvbFZq/vBaV5tXCQJ9XiD2ddhWIS7PWqWTx+m3DpwWdF5zBFeKCrT7FV/9K2Ng5KArNS/9vUS0JoH9uWUc7wangPWG0+EjhKVr25upV9cE1FNoq5TVfnVOM20QC/wRhXCJobe2ZEGdvJm3KI= Received: from AM6PR04MB5016.eurprd04.prod.outlook.com (20.177.34.88) by AM6PR04MB4901.eurprd04.prod.outlook.com (20.177.33.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.14; Tue, 23 Apr 2019 10:46:24 +0000 Received: from AM6PR04MB5016.eurprd04.prod.outlook.com ([fe80::b953:a9de:d0bf:7159]) by AM6PR04MB5016.eurprd04.prod.outlook.com ([fe80::b953:a9de:d0bf:7159%5]) with mapi id 15.20.1813.017; Tue, 23 Apr 2019 10:46:24 +0000 From: Clark Wang To: "broonie@kernel.org" CC: "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH 3/3] spi: lpspi: remove fsl_lpspi->chipselect Thread-Topic: [PATCH 3/3] spi: lpspi: remove fsl_lpspi->chipselect Thread-Index: AQHU+cHL/I8KHu5KYE69/PerGlL+Cg== Date: Tue, 23 Apr 2019 10:46:24 +0000 Message-ID: <20190423104649.24483-4-xiaoning.wang@nxp.com> References: <20190423104649.24483-1-xiaoning.wang@nxp.com> In-Reply-To: <20190423104649.24483-1-xiaoning.wang@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: KU1PR03CA0048.apcprd03.prod.outlook.com (2603:1096:802:19::36) To AM6PR04MB5016.eurprd04.prod.outlook.com (2603:10a6:20b:9::24) x-mailer: git-send-email 2.17.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=xiaoning.wang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2f5b74d6-b1df-4918-dcef-08d6c7d8edde x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM6PR04MB4901; x-ms-traffictypediagnostic: AM6PR04MB4901: x-microsoft-antispam-prvs: x-forefront-prvs: 0016DEFF96 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(39860400002)(346002)(376002)(366004)(396003)(199004)(189003)(26005)(186003)(66066001)(102836004)(11346002)(6506007)(386003)(2616005)(14444005)(486006)(316002)(76176011)(476003)(52116002)(446003)(256004)(2351001)(2906002)(66946007)(73956011)(86362001)(6116002)(3846002)(99286004)(36756003)(66446008)(66556008)(66476007)(64756008)(54906003)(5660300002)(71200400001)(50226002)(478600001)(71190400001)(305945005)(8676002)(2501003)(6512007)(8936002)(6436002)(68736007)(1730700003)(81156014)(25786009)(81166006)(6916009)(4326008)(14454004)(5640700003)(1076003)(53936002)(6486002)(97736004)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4901;H:AM6PR04MB5016.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: J1ixT+dNlqg3aOw1LIfCjiEXsFwLZly2luBqF1XjwXkeWMzyK8MDUZcH+iNntzJ7EwRYEM9Y3dcncHuF9yizA/Kh3+J3LMYgEEozbWoaDNB/EMRXZcT9GgS9L1mnd9unYPXM/3tA++aM1ejLlJi7GCBQjY7h7UT6iDNfLUUJbwUPA44994ySwMEwISySrtyuz88LrHPsN1Q7r65fFyLx7I3VF3f5dZm4IbZBWku9ew1QdhPmLvZeZgQkxLztZ+CctD8zIpiDqEsE1mmNB0aw7kSmaHMWK28luzADv0WhFqgM6C0jsXsiKnkARFp2aiI278OyQroCu2Av3u+IzpHA8oFxvt7cb16asN5VEw/neNdmv33RKJl2chKBy0Ftmm3XyRnvOywwwiUdNb+jWJx53Xy+kI1w2HIf+yvRPYHEFSs= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f5b74d6-b1df-4918-dcef-08d6c7d8edde X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2019 10:46:24.6809 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4901 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UmVwbGFjZSBmc2xfbHBzcGktPmNoaXBzZWxlY3QgYnkgY29udHJvbGxlci0+Y3NfZ3Bpb3MuIENs ZWFuIHVwIHRoZQ0KY29kZS4NCg0KU2lnbmVkLW9mZi1ieTogQ2xhcmsgV2FuZyA8eGlhb25pbmcu d2FuZ0BueHAuY29tPg0KQWNrZWQtYnk6IEZ1Z2FuZyBEdWFuIDxmdWdhbmcuZHVhbkBueHAuY29t Pg0KLS0tDQogZHJpdmVycy9zcGkvc3BpLWZzbC1scHNwaS5jIHwgMTQgKysrKysrLS0tLS0tLS0N CiAxIGZpbGUgY2hhbmdlZCwgNiBpbnNlcnRpb25zKCspLCA4IGRlbGV0aW9ucygtKQ0KDQpkaWZm IC0tZ2l0IGEvZHJpdmVycy9zcGkvc3BpLWZzbC1scHNwaS5jIGIvZHJpdmVycy9zcGkvc3BpLWZz bC1scHNwaS5jDQppbmRleCBhOGU4M2NiOTZmNjEuLmFhNjIxOGNiYzllOCAxMDA2NDQNCi0tLSBh L2RyaXZlcnMvc3BpL3NwaS1mc2w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