]> git.baikalelectronics.ru Git - kernel.git/commit
sm501: fixes for akpms comments on gpiolib addition
authorBen Dooks <ben-linux@fluff.org>
Fri, 25 Jul 2008 08:46:02 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:30 +0000 (10:53 -0700)
commitbd5f7db14d1e51b61564ad2d7166fc0868510817
tree2306a07e595eecf299b540c88d078e75a65c8c89
parentafdc8a5009e2d376be0bfdfdd913b92578f5b043
sm501: fixes for akpms comments on gpiolib addition

Fixup the comments from the patch that added the gpiolib support from
Andrew Morton.  These include spotting some missing frees on error or
release, and changing a memcpy for a type-safe assingment.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/sm501.c