atmel_lcdfb: fix regression with uninitalized fb_info->mm_lock mutex
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Wed, 8 Jul 2009 20:26:16 +0000 (22:26 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 21:18:35 +0000 (14:18 -0700)
commit1d01e83557105e7b3bf1623ad2b814d55e1c2990
treea2f66502fb78ca4e12020968aedd477faf236551
parentb5daa70a4a55a807e893fe7f94289c61c50a6e5f
atmel_lcdfb: fix regression with uninitalized fb_info->mm_lock mutex

Remove not needed locking of the fb_info->mm_lock mutex before a
frambuffer is registered.

This fixes a problem with uninitialized the fb_info->mm_lock mutex
introduced by the commit 537a1bf059f " fbdev: add mutex for fb_mmap
locking"

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/atmel_lcdfb.c