driverdev-devel.linuxdriverproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove global struct vchiq_drvdata variables
@ 2019-11-11 17:14 Marcelo Diop-Gonzalez
  2019-11-11 17:14 ` [PATCH 1/2] staging: vchiq: Move retrieval of rpi_firmware to vchiq_platform_init() Marcelo Diop-Gonzalez
  2019-11-11 17:14 ` [PATCH 2/2] staging: vchiq: Remove global bcm*_drvdata Marcelo Diop-Gonzalez
  0 siblings, 2 replies; 13+ messages in thread
From: Marcelo Diop-Gonzalez @ 2019-11-11 17:14 UTC (permalink / raw)
  To: gregkh, eric, wahrenst; +Cc: devel, linux-rpi-kernel

These appear to be populated once in vchiq_probe() and then read
once in vchiq_platform_init(), so by moving the logic to that
function we can remove some (small amount of) global data.

Marcelo Diop-Gonzalez (2):
  staging: vchiq: Move retrieval of rpi_firmware to
    vchiq_platform_init()
  staging: vchiq: Remove global bcm*_drvdata

 .../interface/vchiq_arm/vchiq_2835_arm.c      | 18 ++++++++--
 .../interface/vchiq_arm/vchiq_arm.c           | 34 ++-----------------
 .../interface/vchiq_arm/vchiq_arm.h           |  5 ---
 3 files changed, 17 insertions(+), 40 deletions(-)

-- 
2.20.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

end of thread, other threads:[~2019-11-13 20:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 17:14 [PATCH 0/2] Remove global struct vchiq_drvdata variables Marcelo Diop-Gonzalez
2019-11-11 17:14 ` [PATCH 1/2] staging: vchiq: Move retrieval of rpi_firmware to vchiq_platform_init() Marcelo Diop-Gonzalez
2019-11-12 23:09   ` Greg KH
2019-11-12 23:29     ` Marcelo Diop-Gonzalez
2019-11-13  5:32       ` Greg KH
2019-11-13 14:08         ` Marcelo Diop-Gonzalez
2019-11-13 20:29     ` Marcelo Diop-Gonzalez
2019-11-13 18:17   ` Dan Carpenter
2019-11-13 19:58     ` Marcelo Diop-Gonzalez
2019-11-11 17:14 ` [PATCH 2/2] staging: vchiq: Remove global bcm*_drvdata Marcelo Diop-Gonzalez
2019-11-13 18:18   ` Dan Carpenter
2019-11-13 18:40   ` Stefan Wahren
2019-11-13 19:56     ` Marcelo Diop-Gonzalez

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).