Coccinelle Archive on lore.kernel.org
 help / color / Atom feed
* [Cocci] [PATCH 0/2] of: of_device.h cleanups
@ 2021-02-11 22:25 Rob Herring
  2021-02-11 22:25 ` [Cocci] [PATCH 1/2] of: Remove of_dev_{get,put}() Rob Herring
  2021-02-11 22:25 ` [Cocci] [PATCH 2/2] driver core: platform: Drop of_device_node_put() wrapper Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2021-02-11 22:25 UTC (permalink / raw)
  To: Michael Ellerman, Greg Kroah-Hartman, David S. Miller,
	Jakub Kicinski, Frank Rowand, devicetree
  Cc: Felipe Balbi, Michal Marek, Rafael J. Wysocki, netdev, linux-usb,
	Nicolas Palix, Patrice Chotard, linux-kernel, Paul Mackerras,
	Benjamin Herrenschmidt, linuxppc-dev, cocci, linux-arm-kernel

This is a couple of cleanups for of_device.h. They fell out from my
attempt at decoupling of_device.h and of_platform.h which is a mess
and I haven't finished, but there's no reason to wait on these.

Rob

Rob Herring (2):
  of: Remove of_dev_{get,put}()
  driver core: platform: Drop of_device_node_put() wrapper

 arch/powerpc/platforms/pseries/ibmebus.c |  4 ++--
 drivers/base/platform.c                  |  2 +-
 drivers/net/ethernet/ibm/emac/core.c     | 15 ++++++++-------
 drivers/of/device.c                      | 21 ---------------------
 drivers/of/platform.c                    |  4 ++--
 drivers/of/unittest.c                    |  2 +-
 drivers/usb/dwc3/dwc3-st.c               |  2 +-
 include/linux/of_device.h                | 10 ----------
 scripts/coccinelle/free/put_device.cocci |  1 -
 9 files changed, 15 insertions(+), 46 deletions(-)

-- 
2.27.0

_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 22:25 [Cocci] [PATCH 0/2] of: of_device.h cleanups Rob Herring
2021-02-11 22:25 ` [Cocci] [PATCH 1/2] of: Remove of_dev_{get,put}() Rob Herring
2021-02-11 22:25 ` [Cocci] [PATCH 2/2] driver core: platform: Drop of_device_node_put() wrapper Rob Herring

Coccinelle Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/cocci/0 cocci/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 cocci cocci/ https://lore.kernel.org/cocci \
		cocci@systeme.lip6.fr
	public-inbox-index cocci

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/fr.lip6.systeme.cocci


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git