Skip to content

make use of devm function in the mcb-pci driver

Andreas Werner lkml 1 version Applied

Status from this message: Applied to mcb-for-v4.7,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2mcb: Replace ioremap and request_region with the devm versiondrivers/mcb/mcb-pci.c+7 -121 reply
2/2mcb: Delete num_cells variable which is not requireddrivers/mcb/mcb-pci.c+1 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.6.2