From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id EC0E81C163D for ; Wed, 17 Apr 2019 09:53:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D9698859C9 for ; Wed, 17 Apr 2019 09:53:04 +0000 (UTC) Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VF7PROrWtfcx for ; Wed, 17 Apr 2019 09:52:59 +0000 (UTC) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 93455858EE for ; Wed, 17 Apr 2019 09:52:59 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id 4so2615670wmf.1 for ; Wed, 17 Apr 2019 02:52:59 -0700 (PDT) From: Sergio Paracuellos Subject: [PATCH 0/3] staging: mt7621-pci-phy: driver cleanups Date: Wed, 17 Apr 2019 11:52:53 +0200 Message-Id: <20190417095256.6146-1-sergio.paracuellos@gmail.com> MIME-Version: 1.0 List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: gregkh@linuxfoundation.org Cc: neil@brown.name, driverdev-devel@linuxdriverproject.org This series makes some cleanups pointed out here from Kishon Vijay Abraham I: * https://lkml.org/lkml/2019/4/17/53 Changes: - make use of platform_get_resource. - make use of soc_device_match. - clean a bit error paths and not needed locals in 'probe' function. Regmap api is not being introduced yet... should we? I understand this simplifies code for spi or i2c drivers but I am not sure in this case. Neil, what do you think? This changes have been only compile-tested. Hope this helps. Best regards, Sergio Paracuellos Sergio Paracuellos (3): staging: mt7621-pci-phy: use 'platform_get_resource' staging: mt7621-pci-phy: remove some unnecessary local variables staging: mt7621-pci-phy: add quirks for 'E2' revision using 'soc_device_attribute' .../staging/mt7621-pci-phy/pci-mt7621-phy.c | 44 ++++++++++--------- 1 file changed, 23 insertions(+), 21 deletions(-) -- 2.19.1 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel