Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7680483imu; Mon, 3 Dec 2018 17:30:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/WQQXP29xI0gxNAsJSm3G7qX37SoQ9Igv1THxwuUUGgrYIHV0iKe9FUI4VRQd1ZslvOeVNp X-Received: by 2002:a62:4156:: with SMTP id o83mr18038913pfa.72.1543887059924; Mon, 03 Dec 2018 17:30:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543887059; cv=none; d=google.com; s=arc-20160816; b=DMaQJ7zdm1iGBT3gAJW9wOo2HJv+htUw2zb7Wd+RD7f5ZsSKaKT2kee3kKnhJf8aG+ zG83SntFMQsF1w5cKb0EBJgxonj5ouAFjq0dJ//bRX1DRFYBZZeSDb7k87r5yJQaIB0v uhX+j91dSutoTmqCLTQ7PGBlsQfpeycz1GQ4c3PlsguEfZPFbcCqFzB/j3H4FJ9pjzBN a9QhV+oHlT4jYMWfn5ll7C8Hc3cDIANNDZnEBsgqoBueDCHCeD/SRXlzNnOm4vyO7oPm pb9Hnd/+jVvpr0orNC8uX4IMroJr6nqPfYS9ddmd4ANY1vuuH0xz0r6HPdOQeBYzphJy Q1OA== 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:from:subject:cc:to:message-id:date; bh=KaKf4giKD9egrajntmqe8f1HzvNKbv5xXd2NX22iOzc=; b=l807jEBvgwiDJtQrsT1DXATAmME2K3V6Vj3tWA/218EiKv5niJoPscfM+RpbPwjjLo mWAOpM5t5l/9xJthZ2tdDoGXZKB2unob63YhyrcH/U8nPh3hXGzdyJblF4jrbpIjXB1Q OnAb8YlJ1JOAsBLAKbwCRT+fVm66Zb9LfAx30WBM4o4zb48lyGz/w/HGvJIpeT2IWiBg Mjvjauqu0VS3X+Fu6yLFPYvWcMnJBzMPGstb1rd3TT8mISldoRKPmNEqf5rEVjqbMI5r IQ6Lz+BvdoWbu7Kat3/DmsCUhu/3uKXBhKFlRB7P5qHH13vB5MpCkRLv+UNJYoeRPyis Laag== 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 x11si14867525plv.321.2018.12.03.17.30.45; Mon, 03 Dec 2018 17:30:59 -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 S1726082AbeLDBaE (ORCPT + 99 others); Mon, 3 Dec 2018 20:30:04 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:52062 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbeLDBaD (ORCPT ); Mon, 3 Dec 2018 20:30:03 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::bf5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id B2CBB133FACAC; Mon, 3 Dec 2018 17:30:02 -0800 (PST) Date: Mon, 03 Dec 2018 17:30:02 -0800 (PST) Message-Id: <20181203.173002.966313271942902146.davem@davemloft.net> To: tiny.windzz@gmail.com Cc: stefan.wahren@i2se.com, joe@perches.com, michael.heimpold@i2se.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: qca_spi: convert to DEFINE_SHOW_ATTRIBUTE From: David Miller In-Reply-To: <20181203142638.13178-1-tiny.windzz@gmail.com> References: <20181203142638.13178-1-tiny.windzz@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 03 Dec 2018 17:30:02 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yangtao Li Date: Mon, 3 Dec 2018 09:26:38 -0500 > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Applied.