Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp702085ybh; Tue, 10 Mar 2020 06:45:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuM0Z84XbJb0WuplEV9ql6sOjVgxztazR0w61K6MReTCcF+1mLDQu6zEJb55bpserEgCZqc X-Received: by 2002:aca:3542:: with SMTP id c63mr1202033oia.135.1583847903122; Tue, 10 Mar 2020 06:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583847903; cv=none; d=google.com; s=arc-20160816; b=r8WSPvVLxdwc29nXrQqv7hZJhK2wGQfMlK0+W16aybzi5P+yjsd/UrFGIRbRjTmgiF E1+WKksTrHs0ywj5oIs0trCAKXnhuN5s/TNxA+NCQ1CAsIatZNqkb/51mTqDGsfhbsY/ qKA5NjZc6D6knT2U56mRa2+zj2p/uF4oL36R3ljc1hrPTBVqRXp/lr1zE5oV9P4mcrtc 3b1tDqQY2wsJchixQj/Im9Sup9m0y+R3SYbKVAVtpUAGGXROX719MMJdzFWhql3urcW0 uuviZGNTsj+Th+bdxN+dFxHRT6EXJOom8RVoB1G53UVlCrqcZub5rK6cBDix7+G5NJgN qrBw== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=tLK37gEPqLI9iqJfV4msAlt+uaHbO+138PyKAOFiOFA=; b=MhsCJstAUGY3Wt9qkfjqNIaTsLwTPSKUP9zHT4aRRBKfNVjPhYLzp9ilmiGTvCkqCc +SeW/bN0W4zYGVZVerSGlYi8DiEi/zeWV2fWzYSQ49RTXELXF7ywaXukP2ILa8lfDapZ nYH4flDIilsMTPlMlRismvxRQjd+hedArSKaAnh6ssXluu4irkCcwLvQQNURk6a+rtJT QkI2qh00LycqbOtvz7lNrQRWr20tn9wsZdtblbXhLCpk3saqTZVLN7YLU6LHWlgxHGOf G5EzZu27f963OXhJPXvaqOyGF90gmoelAvF/tHcFuQCnVosGypSuDHWBohO0WpHVoJqV YLHg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18si7707297otk.80.2020.03.10.06.44.51; Tue, 10 Mar 2020 06:45:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727049AbgCJNmj (ORCPT + 99 others); Tue, 10 Mar 2020 09:42:39 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:52840 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726269AbgCJNmi (ORCPT ); Tue, 10 Mar 2020 09:42:38 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 2E796A65C9C3E845E1FD; Tue, 10 Mar 2020 21:42:32 +0800 (CST) Received: from [127.0.0.1] (10.173.223.234) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Tue, 10 Mar 2020 21:42:22 +0800 Subject: Re: [PATCH -next] iio: ping: set pa_laser_ping_cfg in of_ping_match To: Jonathan Cameron , Andreas Klinger References: <20200304113423.26920-1-yuehaibing@huawei.com> <20200304115546.GA8509@arbad> <20200307153000.3b6db32a@archlinux> CC: , , , , , From: Yuehaibing Message-ID: Date: Tue, 10 Mar 2020 21:42:21 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20200307153000.3b6db32a@archlinux> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.173.223.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/3/7 23:30, Jonathan Cameron wrote: > On Wed, 4 Mar 2020 12:55:46 +0100 > Andreas Klinger wrote: > >> Acked-by: Andreas Klinger > Applied to the fixes-togreg branch of iio.git. > > Btw this is also in mainline I believe, so the -next is probably an > inappropriate marking. Got it, will notice this next time, thanks! > > Thanks, > > Jonathan > >> >> YueHaibing schrieb am Mi, 04. Mär 19:34: >>> pa_laser_ping_cfg should be set in of_ping_match >>> instead of pa_ping_cfg. >>> >>> Fixes: 7bb501f49ddb ("iio: ping: add parallax ping sensors") >>> Signed-off-by: YueHaibing >>> --- >>> drivers/iio/proximity/ping.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/drivers/iio/proximity/ping.c b/drivers/iio/proximity/ping.c >>> index 34aff10..12b893c 100644 >>> --- a/drivers/iio/proximity/ping.c >>> +++ b/drivers/iio/proximity/ping.c >>> @@ -269,7 +269,7 @@ static const struct iio_chan_spec ping_chan_spec[] = { >>> >>> static const struct of_device_id of_ping_match[] = { >>> { .compatible = "parallax,ping", .data = &pa_ping_cfg}, >>> - { .compatible = "parallax,laserping", .data = &pa_ping_cfg}, >>> + { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg}, >>> {}, >>> }; >>> >>> -- >>> 2.7.4 >>> >>> > > > . >