commit | 2b00f54b248144acc393740e4c4679b6aa531193 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Jul 24 12:08:58 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 25 13:24:11 2013 -0700 |
tree | 6474f2bf6bd0a09422b18eaf98ca887e02a0e150 | |
parent | 4f2cfd6778969c02dbeb6f6856ff2065d305baf7 [diff] |
staging: comedi: ii_pci20kc: use comedi_alloc_spriv() For aesthetic reasons, use the helper function to allocate the subdevice private data instead of hanging it on the device private data. The core will free the memory during the detach. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>