linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] lirc_dev spring cleaning
@ 2017-05-01 16:03 David Härdeman
  2017-05-01 16:03 ` [PATCH 01/16] lirc_dev: remove pointless functions David Härdeman
                   ` (15 more replies)
  0 siblings, 16 replies; 28+ messages in thread
From: David Härdeman @ 2017-05-01 16:03 UTC (permalink / raw)
  To: linux-media; +Cc: mchehab, sean

lirc_dev has lots of functionality which is unused and the code isn't exactly
up-to-date with current kernel practices. This patchset removes the unused bits
and also simplifies the locking by moving lirc_dev over to only use
per-device mutexes rather than a big lirc lock in addition to per-device locks.

I think this is about as much as can be done right now before lirc_zilog is
either removed or ported to rc-core.

---

David Härdeman (16):
      lirc_dev: remove pointless functions
      lirc_dev: remove unused set_use_inc/set_use_dec
      lirc_dev: correct error handling
      lirc_dev: remove sampling kthread
      lirc_dev: clarify error handling
      lirc_dev: make fops mandatory
      lirc_dev: merge lirc_register_driver() and lirc_allocate_driver()
      lirc_zilog: remove module parameter minor
      lirc_dev: remove lirc_irctl_init() and lirc_cdev_add()
      lirc_dev: remove superfluous get/put_device() calls
      lirc_dev: remove unused module parameter
      lirc_dev: return POLLHUP and POLLERR when device is gone
      lirc_dev: use an ida instead of a hand-rolled array to keep track of minors
      lirc_dev: cleanup includes
      lirc_dev: remove name from struct lirc_driver
      lirc_dev: cleanup header


 drivers/media/rc/ir-lirc-codec.c        |   23 -
 drivers/media/rc/lirc_dev.c             |  516 ++++++++-----------------------
 drivers/staging/media/lirc/lirc_zilog.c |   33 --
 include/media/lirc_dev.h                |   53 ---
 4 files changed, 149 insertions(+), 476 deletions(-)

--
David Härdeman

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

end of thread, other threads:[~2017-06-17 11:14 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-01 16:03 [PATCH 00/16] lirc_dev spring cleaning David Härdeman
2017-05-01 16:03 ` [PATCH 01/16] lirc_dev: remove pointless functions David Härdeman
2017-05-01 16:03 ` [PATCH 02/16] lirc_dev: remove unused set_use_inc/set_use_dec David Härdeman
2017-05-01 16:03 ` [PATCH 03/16] lirc_dev: correct error handling David Härdeman
2017-05-21  8:57   ` Sean Young
2017-05-28  8:23     ` David Härdeman
2017-05-28 15:04       ` Sean Young
2017-06-17 11:14         ` David Härdeman
2017-05-01 16:03 ` [PATCH 04/16] lirc_dev: remove sampling kthread David Härdeman
2017-05-01 16:04 ` [PATCH 05/16] lirc_dev: clarify error handling David Härdeman
2017-05-01 16:04 ` [PATCH 06/16] lirc_dev: make fops mandatory David Härdeman
2017-05-01 16:04 ` [PATCH 07/16] lirc_dev: merge lirc_register_driver() and lirc_allocate_driver() David Härdeman
2017-05-01 16:04 ` [PATCH 08/16] lirc_zilog: remove module parameter minor David Härdeman
2017-05-01 16:04 ` [PATCH 09/16] lirc_dev: remove lirc_irctl_init() and lirc_cdev_add() David Härdeman
2017-05-01 16:04 ` [PATCH 10/16] lirc_dev: remove superfluous get/put_device() calls David Härdeman
2017-05-01 16:04 ` [PATCH 11/16] lirc_dev: remove unused module parameter David Härdeman
2017-05-01 16:04 ` [PATCH 12/16] lirc_dev: return POLLHUP and POLLERR when device is gone David Härdeman
2017-05-01 16:04 ` [PATCH 13/16] lirc_dev: use an ida instead of a hand-rolled array to keep track of minors David Härdeman
2017-05-22 20:09   ` Sean Young
2017-05-28  8:26     ` David Härdeman
2017-05-28 15:08       ` Sean Young
2017-05-01 16:04 ` [PATCH 14/16] lirc_dev: cleanup includes David Härdeman
2017-05-19 18:21   ` Sean Young
2017-05-21  6:51     ` David Härdeman
2017-05-01 16:04 ` [PATCH 15/16] lirc_dev: remove name from struct lirc_driver David Härdeman
2017-05-02 17:04   ` Sean Young
2017-05-02 18:41     ` David Härdeman
2017-05-01 16:04 ` [PATCH 16/16] lirc_dev: cleanup header David Härdeman

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