From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F93AC6FA86 for ; Thu, 22 Sep 2022 14:00:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231918AbiIVOAc (ORCPT ); Thu, 22 Sep 2022 10:00:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231919AbiIVOAQ (ORCPT ); Thu, 22 Sep 2022 10:00:16 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D9C652E4C; Thu, 22 Sep 2022 07:00:11 -0700 (PDT) Received: from dggpemm500020.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MYH1109F2zHng0; Thu, 22 Sep 2022 21:57:57 +0800 (CST) Received: from dggpemm100009.china.huawei.com (7.185.36.113) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 22 Sep 2022 22:00:05 +0800 Received: from huawei.com (10.175.113.32) by dggpemm100009.china.huawei.com (7.185.36.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 22 Sep 2022 22:00:07 +0800 From: Liu Shixin To: Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter CC: , , Liu Shixin Subject: [PATCH 0/4] memory: tegra: Use DEFINE_SHOW_ATTRIBUTE to simplify code Date: Thu, 22 Sep 2022 22:33:40 +0800 Message-ID: <20220922143344.3252585-1-liushixin2@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.32] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm100009.china.huawei.com (7.185.36.113) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code. No functional change. Liu Shixin (4): memory: tegra20-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra30-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra210-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra186-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code drivers/memory/tegra/tegra186-emc.c | 15 +-------------- drivers/memory/tegra/tegra20-emc.c | 15 +-------------- drivers/memory/tegra/tegra210-emc-core.c | 14 +------------- drivers/memory/tegra/tegra30-emc.c | 15 +-------------- 4 files changed, 4 insertions(+), 55 deletions(-) -- 2.25.1