staging: dgap: Simplify to set a module type
authorDaeseok Youn <daeseok.youn@gmail.com>
Sat, 9 Aug 2014 05:39:05 +0000 (14:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:06 +0000 (12:23 -0700)
commit3cfa648b124ccbf5bc6aea92beef8ed35a06f1ed
tree6fd4ba1fa31f59f31c7f8c30e14b015427429a71
parentf6aa0164cd3b1c5192e87f5651ec382c3bc3abac
staging: dgap: Simplify to set a module type

It is same manner with setting a board type.
After allocating a type of "MNODE", get a token value
set to "module.type".

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c
drivers/staging/dgap/dgap.h