lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1426538797-28131-1-git-send-email-peterhuewe@gmx.de>
Date:	Mon, 16 Mar 2015 21:46:29 +0100
From:	Peter Huewe <peterhuewe@....de>
To:	"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>
Cc:	linux-kernel@...r.kernel.org, Peter Huewe <peterhuewe@....de>
Subject: [PATCH 0/8] Add helper macro for pnp_register_driver boilerplate

This patchset introduces the module_pnp_driver macro which is a
convenience macro for PNP driver modules similar to module_pci_driver
and convert the affected drivers to the new helper macro.
It is intended to be used by drivers which init/exit section does nothing
but register/unregister the PNP driver. By using this macro it is
possible to eliminate a few lines of boilerplate code per PNP driver.

If easier you can pull directly from my tree:

The following changes since commit 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda:

  Linux 4.0-rc4 (2015-03-15 17:38:20 -0700)

are available in the git repository at:

  https://github.com/PeterHuewe/linux-tpmdd.git module_pnp_driver

for you to fetch changes up to 5bf9cf2fdc9f22c7caa1c17a7eb2e17aab099b51:

  pnp: tty/serial/8250/8250_fintek: Use module_pnp_driver to register driver (2015-03-16 21:40:05 +0100)

----------------------------------------------------------------

Peter Huewe (8):
  pnp: Add helper macro for pnp_register_driver boilerplate
  pnp: tpm/tpm_infineon: Use module_pnp_driver to register driver
  pnp: ata/pata_isapnp: Use module_pnp_driver to register driver
  pnp: ide/ide-pnp: Use module_pnp_driver to register driver
  pnp: media/rc: Use module_pnp_driver to register driver
  pnp: net/sb1000: Use module_pnp_driver to register driver
  pnp: platform/x86/apple-gmux: Use module_pnp_driver to register driver
  pnp: tty/serial/8250/8250_fintek: Use module_pnp_driver to register
    driver

 drivers/ata/pata_isapnp.c             | 14 +-------------
 drivers/char/tpm/tpm_infineon.c       | 13 +------------
 drivers/ide/ide-pnp.c                 | 14 +-------------
 drivers/media/rc/ene_ir.c             | 13 +------------
 drivers/media/rc/fintek-cir.c         | 13 +------------
 drivers/media/rc/ite-cir.c            | 13 +------------
 drivers/media/rc/nuvoton-cir.c        | 13 +------------
 drivers/net/sb1000.c                  | 15 +--------------
 drivers/platform/x86/apple-gmux.c     | 14 +-------------
 drivers/tty/serial/8250/8250_fintek.c | 13 +------------
 include/linux/pnp.h                   | 12 ++++++++++++
 11 files changed, 22 insertions(+), 125 deletions(-)

-- 
2.0.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ