Revision 621bae79f1a250e443eb83d1f473c533bea493dc authored by Hannu Heikkinen on 29 May 2012, 22:07:40 UTC, committed by Linus Torvalds on 29 May 2012, 23:22:34 UTC
Use the devres managed resource functions in the probe routine. Also affects the remove routine where the previously used free and release functions are not needed. The devm_* functions eliminate the need for manual resource releasing and simplify error handling. Resources allocated by devm_* are freed automatically on driver detach. Signed-off-by: Hannu Heikkinen <ext-hannu.m.heikkinen@nokia.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ac2dee5
File | Mode | Size |
---|---|---|
1040.bin.ihex | -rw-r--r-- | 90.5 KB |
12160.bin.ihex | -rw-r--r-- | 76.0 KB |
1280.bin.ihex | -rw-r--r-- | 86.2 KB |
isp1000.bin.ihex | -rw-r--r-- | 49.7 KB |
sd7220.fw.ihex | -rw-r--r-- | 22.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...