Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383366

[PATCH 0/2] make use of devm function in the mcb-pci driver

From Andreas Werner <andreas.werner@men.de>
Newsgroups linux.kernel
Subject [PATCH 0/2] make use of devm function in the mcb-pci driver
Date 2016-04-20 15:20 +0200
Message-ID <rq0cV-8rY-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The first patch replace the ioremap an request_mem_region function
with the corresponding devm function to have a more cleaner code
and a better error handling.

The sencoder patch just delete a unused variable.

Andreas Werner (2):
  mcb: Replace ioremap and request_region with the devm version
  mcb: Delete num_cells variable which is not required

 drivers/mcb/mcb-pci.c | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

-- 
2.6.2

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] make use of devm function in the mcb-pci driver Andreas Werner <andreas.werner@men.de> - 2016-04-20 15:20 +0200
  [PATCH 2/2] mcb: Delete num_cells variable which is not required Andreas Werner <andreas.werner@men.de> - 2016-04-20 15:20 +0200
    Re: [PATCH 2/2] mcb: Delete num_cells variable which is not required Johannes Thumshirn <jthmshirn@suse.de> - 2016-04-20 17:10 +0200
  [PATCH 1/2] mcb: Replace ioremap and request_region with the devm  version Andreas Werner <andreas.werner@men.de> - 2016-04-20 15:20 +0200
    Re: [PATCH 1/2] mcb: Replace ioremap and request_region with the  devm version Johannes Thumshirn <jthmshirn@suse.de> - 2016-04-20 17:10 +0200

csiph-web