Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2275765ybf; Mon, 2 Mar 2020 05:33:35 -0800 (PST) X-Google-Smtp-Source: APXvYqw3F2lzmy2mhAF0DYVddUOX8dTIAPpdmAcxgTldSPOspYosBdKbAqqKuPCvBoIsN549YFjb X-Received: by 2002:a9d:6f8f:: with SMTP id h15mr12493470otq.1.1583156014839; Mon, 02 Mar 2020 05:33:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583156014; cv=none; d=google.com; s=arc-20160816; b=xmIlLqyYmHZin4HCYlMBKqYYCS666/jh3RMM1pZbxXl7ppaysXb/LuqT7W1ku3rVlA AETWswDcTwt2P2TBFRyvDjb3fc6jILL5oEnLLpN6VEc05R7dQNSxmcG52j2TQdXzGLHe NwfZOaI4R2IF8LQltQXijjmB2P4CkRyKGe1nwALIdbbd3NHlwYMaPSWmEQURtPD1XcvW 316masoCcBqPyv8xHfqHJj+DOzmpEvgIyYbnuzKDPwNwFftT+Cto+V9c4omYdzO5E+S3 3Q06dnhkmlh2rkOdsIL1Dm2zN6VvPk+4UwhghtWc1hdz7SjvrKWHIv5ruladBWtf1mtU /ZGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=MuZWPpI/eYpZ1XpjZmsoI3sYY3cO0HyJyBFaSyvZGEI=; b=ZdxMZ71WZfGgLMC1WKqr8jGm4QsKOPczD0vfvV7Gg5bFOAjs3kZdgth5P/XvwApzoo 0IXe4lPHvxE5qu4F0yU8c0rIcbIIHOFJxAHy3UGKofrps1cadXLXQNI+7PydUivXXH0G xGZYGxiKSiaWYQjC7x3S++1gvTk1ZlQMAfxe4vUBwj5koCaPr5MxexeXd2mjQsQJ4x2c bdKxD88LzSWwF4eoeR3bFGeYaicobXczeQfespUCuyfDorlGftRez3HbLKO9YYeAR61W NiqO/SlVlW0l4zkt64NjegN5qidqlH9MEIm3C5gvxrJAA2k7RhpYxwIbSd4nbnELC3Zy 5/Mw== 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 d24si3165537oij.121.2020.03.02.05.33.21; Mon, 02 Mar 2020 05:33:34 -0800 (PST) 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 S1727810AbgCBNdJ (ORCPT + 99 others); Mon, 2 Mar 2020 08:33:09 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11131 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727361AbgCBNdI (ORCPT ); Mon, 2 Mar 2020 08:33:08 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id E819561D6FB426CE43A0; Mon, 2 Mar 2020 21:33:02 +0800 (CST) Received: from localhost (10.173.223.234) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Mon, 2 Mar 2020 21:32:56 +0800 From: YueHaibing To: , , , , , , CC: , , YueHaibing Subject: [PATCH -next] iio:ad7797: Use correct attribute_group Date: Mon, 2 Mar 2020 21:32:49 +0800 Message-ID: <20200302133249.23152-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain 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 It seems ad7797_attribute_group should be used in ad7797_info, according to commit ("iio:ad7793: Add support for the ad7796 and ad7797"). Fixes: fd1a8b912841 ("iio:ad7793: Add support for the ad7796 and ad7797") Signed-off-by: YueHaibing --- drivers/iio/adc/ad7793.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7793.c b/drivers/iio/adc/ad7793.c index b747db9..e5691e3 100644 --- a/drivers/iio/adc/ad7793.c +++ b/drivers/iio/adc/ad7793.c @@ -542,7 +542,7 @@ static const struct iio_info ad7797_info = { .read_raw = &ad7793_read_raw, .write_raw = &ad7793_write_raw, .write_raw_get_fmt = &ad7793_write_raw_get_fmt, - .attrs = &ad7793_attribute_group, + .attrs = &ad7797_attribute_group, .validate_trigger = ad_sd_validate_trigger, }; -- 2.7.4