From patchwork Wed Feb 12 15:55:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 319659 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 6EAF42C008F for ; Thu, 13 Feb 2014 02:59:17 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752681AbaBLP7C (ORCPT ); Wed, 12 Feb 2014 10:59:02 -0500 Received: from mail-ea0-f178.google.com ([209.85.215.178]:49567 "EHLO mail-ea0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752341AbaBLP5X (ORCPT ); Wed, 12 Feb 2014 10:57:23 -0500 Received: by mail-ea0-f178.google.com with SMTP id a15so4487936eae.37 for ; Wed, 12 Feb 2014 07:57:22 -0800 (PST) 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:content-type; bh=GchM30GPqh8/tzqUjB4dGTpLkZf61PxdB4xnvePZE1k=; b=aZNZXqw6XvQKrVVMO1NDkTGn1gNSnSE2MB+BXVqiU6BrUigfkwM1Ut84p5Umkvhrm+ CIWF/K4V5SiZHDTDPlJCa5kBa3f7R+3dgFlK3+vTsh9qAoQ8tSBwiS9SVKKUvFLQlNzN EFQ72eyRG9oiqdpszs131xVULxnEjEVSAYGbU59lY6lZm4A8IZJ89jmaIO8JhVevUMSt /Kxz0wpyWgEB7lHVu5SZ/+UovU19YUiDchZtWakfSHGDnNAH5hU6hbMKK2+PIcrr46lV RDIxLh7fgXQcBpZ60KY4iTGPfY8swU7KphWTHf/6+NAl7G4xS2u8l281KP08F2NKF4Ow fAEw== X-Gm-Message-State: ALoCoQldV4q0NDZo85QY1th8Mz4rPm5O58c9VUNDQD5ox/BjgVPlxSCCS05y7CrfbSTZAzzioA/s X-Received: by 10.14.194.193 with SMTP id m41mr4191464een.76.1392220642202; Wed, 12 Feb 2014 07:57:22 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id x2sm82403221eeo.8.2014.02.12.07.57.20 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 12 Feb 2014 07:57:20 -0800 (PST) From: Michal Simek To: netdev@vger.kernel.org Cc: Srikanth Thokala , Srikanth Thokala , Michal Simek , Anirudha Sarangi , John Linn , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/14] net: axienet: Removed _of_ prefix in probe and remove functions Date: Wed, 12 Feb 2014 16:55:47 +0100 Message-Id: <50c3d613305d2e8cf4cbb74fc87c9a178c6332e6.1392220536.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: 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(-) -- 1.8.2.3 diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index 9a9ffbc..6dd3eee 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; @@ -1639,7 +1639,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); @@ -1656,9 +1656,9 @@ 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 = { .owner = THIS_MODULE, .name = "xilinx_axienet", @@ -1666,7 +1666,7 @@ static struct platform_driver axienet_of_driver = { }, }; -module_platform_driver(axienet_of_driver); +module_platform_driver(axienet_driver); MODULE_DESCRIPTION("Xilinx Axi Ethernet driver"); MODULE_AUTHOR("Xilinx");