]> git.karo-electronics.de Git - mv-sheeva.git/commit
samsung-laptop: cleanup return type: mode_t vs umode_t
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 20 Mar 2012 08:53:07 +0000 (09:53 +0100)
committerMatthew Garrett <mjg@redhat.com>
Mon, 26 Mar 2012 19:05:39 +0000 (15:05 -0400)
commitbde9e5098c121cfca6d9c7e3a26e6ae44a3c9632
tree0e0bf71649fb4e038f89d74542b03d77ab883c5b
parent82c333aaf4b2d6a83d9e8d6247584af8c18c4d7b
samsung-laptop: cleanup return type: mode_t vs umode_t

This function returns a umode_t (unsigned short) instead of mode_t which
is an unsigned int on some architectures.  Cleaning this up silences a
compile warning:

drivers/platform/x86/samsung-laptop.c:1108:2: warning: initialization
from incompatible pointer type [enabled by default]

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/samsung-laptop.c