linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/21] video: remove unnecessary pci_set_drvdata()
@ 2013-09-12  6:49 Jingoo Han
  2013-09-16  9:39 ` Tomi Valkeinen
  0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2013-09-12  6:49 UTC (permalink / raw)
  To: linux-fbdev

Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound),
the driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

---
 drivers/video/arkfb.c                  |    1 -
 drivers/video/carminefb.c              |    1 -
 drivers/video/cirrusfb.c               |    1 -
 drivers/video/cyber2000fb.c            |    5 -----
 drivers/video/geode/gx1fb_core.c       |    1 -
 drivers/video/geode/gxfb_core.c        |    1 -
 drivers/video/geode/lxfb_core.c        |    1 -
 drivers/video/i740fb.c                 |    1 -
 drivers/video/i810/i810_main.c         |    1 -
 drivers/video/intelfb/intelfbdrv.c     |    2 --
 drivers/video/kyro/fbdev.c             |    1 -
 drivers/video/mb862xx/mb862xxfbdrv.c   |    1 -
 drivers/video/neofb.c                  |    6 ------
 drivers/video/pm2fb.c                  |    1 -
 drivers/video/pm3fb.c                  |    1 -
 drivers/video/s3fb.c                   |    1 -
 drivers/video/savage/savagefb_driver.c |    6 ------
 drivers/video/sis/sis_main.c           |    4 ----
 drivers/video/tdfxfb.c                 |    1 -
 drivers/video/tridentfb.c              |    1 -
 drivers/video/vt8623fb.c               |    1 -
 21 files changed, 39 deletions(-)


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

* Re: [PATCH 00/21] video: remove unnecessary pci_set_drvdata()
  2013-09-12  6:49 [PATCH 00/21] video: remove unnecessary pci_set_drvdata() Jingoo Han
@ 2013-09-16  9:39 ` Tomi Valkeinen
  0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2013-09-16  9:39 UTC (permalink / raw)
  To: linux-fbdev

[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]

On 12/09/13 09:49, Jingoo Han wrote:
> Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
> (device-core: Ensure drvdata = NULL when no driver is bound),
> the driver core clears the driver data to NULL after device_release
> or on probe failure. Thus, it is not needed to manually clear the
> device driver data to NULL.
> 
> ---
>  drivers/video/arkfb.c                  |    1 -
>  drivers/video/carminefb.c              |    1 -
>  drivers/video/cirrusfb.c               |    1 -
>  drivers/video/cyber2000fb.c            |    5 -----
>  drivers/video/geode/gx1fb_core.c       |    1 -
>  drivers/video/geode/gxfb_core.c        |    1 -
>  drivers/video/geode/lxfb_core.c        |    1 -
>  drivers/video/i740fb.c                 |    1 -
>  drivers/video/i810/i810_main.c         |    1 -
>  drivers/video/intelfb/intelfbdrv.c     |    2 --
>  drivers/video/kyro/fbdev.c             |    1 -
>  drivers/video/mb862xx/mb862xxfbdrv.c   |    1 -
>  drivers/video/neofb.c                  |    6 ------
>  drivers/video/pm2fb.c                  |    1 -
>  drivers/video/pm3fb.c                  |    1 -
>  drivers/video/s3fb.c                   |    1 -
>  drivers/video/savage/savagefb_driver.c |    6 ------
>  drivers/video/sis/sis_main.c           |    4 ----
>  drivers/video/tdfxfb.c                 |    1 -
>  drivers/video/tridentfb.c              |    1 -
>  drivers/video/vt8623fb.c               |    1 -
>  21 files changed, 39 deletions(-)
> 

Thanks, applying for 3.13.

 Tomi



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

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

end of thread, other threads:[~2013-09-16  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-12  6:49 [PATCH 00/21] video: remove unnecessary pci_set_drvdata() Jingoo Han
2013-09-16  9:39 ` Tomi Valkeinen

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