[PATCH 1/7] staging: nvec: convert to devm_ functions
Greg KH
gregkh at linuxfoundation.org
Fri Jun 15 21:43:45 UTC 2012
On Thu, Jun 14, 2012 at 11:57:35PM +0200, Marc Dietrich wrote:
> This patch cleanups the nvec and its childs by replacing calls to
> resource allocations by their devm_* equivalents.
>
> Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
> ---
> drivers/staging/nvec/nvec.c | 44 +++++++++++++------------------------
> drivers/staging/nvec/nvec_leds.c | 10 +++------
> drivers/staging/nvec/nvec_power.c | 8 ++++---
> drivers/staging/nvec/nvec_ps2.c | 6 ++++-
> 4 files changed, 28 insertions(+), 40 deletions(-)
What tree did you make this against? It fails for me on my staging-next
branch with:
patching file drivers/staging/nvec/nvec.c
Hunk #2 FAILED at 737.
Hunk #3 succeeded at 753 (offset -2 lines).
Hunk #4 succeeded at 762 (offset -2 lines).
Hunk #5 succeeded at 789 (offset -2 lines).
Hunk #6 succeeded at 847 (offset -2 lines).
Hunk #7 succeeded at 855 (offset -2 lines).
1 out of 7 hunks FAILED -- saving rejects to file drivers/staging/nvec/nvec.c.rej
patching file drivers/staging/nvec/nvec_leds.c
patching file drivers/staging/nvec/nvec_power.c
patching file drivers/staging/nvec/nvec_ps2.c
Care to refresh this series on the latest linux-next release and resend it?
thanks,
greg k-h
More information about the devel
mailing list