From patchwork Tue May 5 09:26:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 467977 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B2A0F140789 for ; Tue, 5 May 2015 19:27:20 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031506AbbEEJ1G (ORCPT ); Tue, 5 May 2015 05:27:06 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:33434 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031409AbbEEJ0j (ORCPT ); Tue, 5 May 2015 05:26:39 -0400 Received: by wgin8 with SMTP id n8so175631387wgi.0 for ; Tue, 05 May 2015 02:26:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=RMMJRc6QYSXzBSTL6EqpzyMhTPCmFnmRH8LOO1FgJ3U=; b=b7Kxo9si9ASzcZzukb97Xl7K9hf3SxGFJLmx5a0HkN26Z/HKIeR17mqSral+0wRUwR UPQwgg6IF2OC//osOMFIGo0ByLf20FfOaWxgVdHDLKClgPqxP6RGAL3btUmWHFlzLthA xiZm4pB5lCSOkzX3Yg3E4BaBatjtNOqCN3t0KxaLVyrj2VgXWv3GG2VqsP5KIq5u4M8S O1+j9F+ma6wptCXzfzF0kRz91VxuS44acPAgnQhAVP/XZHegI0ijY9IHkmSnVSMw8Lyp NzWb7QehoobcG+wOGBWs8ORlGm6Z7a9eNT/WwcSiCz0sIDG/qvgK+LspZWCe455G31Rc pmUA== X-Gm-Message-State: ALoCoQkhNoqdgT7m8hGlTxJrXLbxDWr8aFaLRkKtSI+Jh4kCTRKUKhLF/VnNqjBCvexi4XO+Wr3K X-Received: by 10.181.11.129 with SMTP id ei1mr2209285wid.57.1430817997638; Tue, 05 May 2015 02:26:37 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by mx.google.com with ESMTPSA id gi17sm24614228wjc.8.2015.05.05.02.26.36 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 05 May 2015 02:26:36 -0700 (PDT) From: Michal Simek To: netdev@vger.kernel.org Cc: Srikanth Thokala , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= , monstr@monstr.eu, John Linn , Anirudha Sarangi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/12] net: axienet: Removed _of_ prefix in probe and remove functions Date: Tue, 5 May 2015 11:26:04 +0200 Message-Id: <20da6b057ab3ec4bc0fd9709e153163612a32ea3.1430817941.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <7fb84f65a61bbe0fdb4b61a871cf4d4f7910955d.1430817941.git.michal.simek@xilinx.com> References: <7fb84f65a61bbe0fdb4b61a871cf4d4f7910955d.1430817941.git.michal.simek@xilinx.com> In-Reply-To: <7fb84f65a61bbe0fdb4b61a871cf4d4f7910955d.1430817941.git.michal.simek@xilinx.com> References: <7fb84f65a61bbe0fdb4b61a871cf4d4f7910955d.1430817941.git.michal.simek@xilinx.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Srikanth Thokala Synchronize names with other drivers. Signed-off-by: Srikanth Thokala Signed-off-by: Michal Simek --- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index dec7e9918db4..1781265e3dc3 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c @@ -1479,7 +1479,7 @@ static void axienet_dma_err_handler(unsigned long data) } /** - * axienet_of_probe - Axi Ethernet probe function. + * axienet_probe - Axi Ethernet probe function. * @pdev: Pointer to platform device structure. * @match: Pointer to device id structure * @@ -1491,7 +1491,7 @@ static void axienet_dma_err_handler(unsigned long data) * device. Parses through device tree and populates fields of * axienet_local. It registers the Ethernet device. */ -static int axienet_of_probe(struct platform_device *pdev) +static int axienet_probe(struct platform_device *pdev) { int ret; struct device_node *np; @@ -1636,7 +1636,7 @@ free_netdev: return ret; } -static int axienet_of_remove(struct platform_device *pdev) +static int axienet_remove(struct platform_device *pdev) { struct net_device *ndev = platform_get_drvdata(pdev); struct axienet_local *lp = netdev_priv(ndev); @@ -1652,16 +1652,16 @@ static int axienet_of_remove(struct platform_device *pdev) return 0; } -static struct platform_driver axienet_of_driver = { - .probe = axienet_of_probe, - .remove = axienet_of_remove, +static struct platform_driver axienet_driver = { + .probe = axienet_probe, + .remove = axienet_remove, .driver = { .name = "xilinx_axienet", .of_match_table = axienet_of_match, }, }; -module_platform_driver(axienet_of_driver); +module_platform_driver(axienet_driver); MODULE_DESCRIPTION("Xilinx Axi Ethernet driver"); MODULE_AUTHOR("Xilinx");