From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiner Kallweit Subject: [PATCH net-next 0/2] net: phy: add macros for PHYID matching in PHY driver config Date: Sat, 10 Nov 2018 00:37:46 +0100 Message-ID: <673709d2-3efd-5616-9f9a-ea765d07d339@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" To: Andrew Lunn , Florian Fainelli , David Miller Return-path: Received: from mail-wm1-f66.google.com ([209.85.128.66]:35927 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727730AbeKJJUn (ORCPT ); Sat, 10 Nov 2018 04:20:43 -0500 Received: by mail-wm1-f66.google.com with SMTP id v70-v6so2898767wmd.1 for ; Fri, 09 Nov 2018 15:37:52 -0800 (PST) Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: Add macros for PHYID matching to be used in PHY driver configs. By using these macros some boilerplate code can be avoided. Use them initially in the Realtek PHY drivers. Heiner Kallweit (2): net: phy: add macros for PHYID matching net: phy: realtek: use new PHYID matching macros drivers/net/phy/realtek.c | 29 ++++++++++------------------- include/linux/phy.h | 4 ++++ 2 files changed, 14 insertions(+), 19 deletions(-) -- 2.19.1