linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Libo Chen <libo.chen@huawei.com>
To: <davem@davemloft.net>
Cc: mugunthanvnm@ti.com, sergei.shtylyov@cogentembedded.com,
	netdev@vger.kernel.org, jg1.han@samsung.com,
	libo.chen@huawei.com, lizefan@huawei.com,
	gregkh@linuxfoundation.org, linuxppc-dev@lists.ozlabs.org
Subject: [PATCH 0/8] net: remove unnecessary dev_set_drvdata()
Date: Wed, 21 Aug 2013 15:05:37 +0800	[thread overview]
Message-ID: <1377068737-48616-1-git-send-email-libo.chen@huawei.com> (raw)

Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.

Libo Chen (8):
  net: fsl_pq_mdio: remove unnecessary dev_set_drvdata()
  net: ucc_geth: remove unnecessary dev_set_drvdata()
  net: fec_mpc52xx_phy: remove unnecessary dev_set_drvdata()
  net: sunbmac: remove unnecessary dev_set_drvdata()
  net: sunhme: remove unnecessary dev_set_drvdata()
  net: xilinx_emaclite: remove unnecessary dev_set_drvdata()
  net: davinci_mdio: remove unnecessary dev_set_drvdata()
  net: emac: remove unnecessary dev_set_drvdata()

 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c |    1 -
 drivers/net/ethernet/freescale/fsl_pq_mdio.c     |    2 --
 drivers/net/ethernet/freescale/ucc_geth.c        |    1 -
 drivers/net/ethernet/ibm/emac/core.c             |    2 --
 drivers/net/ethernet/sun/sunbmac.c               |    2 --
 drivers/net/ethernet/sun/sunhme.c                |    2 --
 drivers/net/ethernet/ti/davinci_mdio.c           |    2 --
 drivers/net/ethernet/xilinx/xilinx_emaclite.c    |    1 -
 8 files changed, 0 insertions(+), 13 deletions(-)

             reply	other threads:[~2013-08-21  7:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21  7:05 Libo Chen [this message]
2013-08-21 19:27 ` [PATCH 0/8] net: remove unnecessary dev_set_drvdata() David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1377068737-48616-1-git-send-email-libo.chen@huawei.com \
    --to=libo.chen@huawei.com \
    --cc=davem@davemloft.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=jg1.han@samsung.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=lizefan@huawei.com \
    --cc=mugunthanvnm@ti.com \
    --cc=netdev@vger.kernel.org \
    --cc=sergei.shtylyov@cogentembedded.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).