HID: picolcd: correct ordering of framebuffer freeing
authorBruno Prémont <bonbons@linux-vserver.org>
Fri, 6 Aug 2010 08:08:04 +0000 (10:08 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 6 Aug 2010 12:53:10 +0000 (14:53 +0200)
commit1778ca298b06ec86af5fc9603447c379cbfb477b
treedd6e0c5d6c02d052bd2ebfffc1d16bba7a2a8cd6
parenta106025015c8d24af6518aba3ac19c4dc9098b7c
HID: picolcd: correct ordering of framebuffer freeing

Fix the free() ordering (which was never reached due to wrong check).

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd.c