commit | ca8eb8d5c8aa1a0828d381b213b14e13961f5297 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Fri Sep 14 17:34:25 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 17 05:09:08 2012 -0700 |
tree | c0a1a4a3c6aa716565bd562900cdc60ac7679cf5 | |
parent | d799773f6837b44f4dca8d298c2be4d524d3331e [diff] |
staging: comedi: mite: add mite_alloc() and mite_free() Add `mite_alloc()` to allow drivers to allocate and initialize a `struct mite_struct` dynamically and export it. Add `mite_free()`, which is currently just an inline wrapper for `kfree()`. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>