GPIO-KEYS: combine two gpio-keys devices into one
authorFei Yang <fei.yang@intel.com>
Fri, 13 Jan 2012 22:17:37 +0000 (14:17 -0800)
committerbuildbot <buildbot@intel.com>
Fri, 3 Feb 2012 01:36:05 +0000 (17:36 -0800)
commit299cea916787b786765a8d62f4239be2efc7a07c
tree39fd67e2c4c64c126fbc0d2ed8d116cd53f094d9
parent483f0d68b81135995d273f626a8881f4cb6bf796
GPIO-KEYS: combine two gpio-keys devices into one

BZ: 20893

There are currently two "gpio-keys" platform devices defined in the
kernel with the same string name, one is in blackbay_pr2.c and the
other in mrst.c. This is causing problem when registering the second
one. Solution is to combine them into one platform device.

Change-Id: I83385db305f68e59c7878aed46b5defd66ec9d8e
Signed-off-by: Fei Yang <fei.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/32692
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/mfld/blackbay_pr2.c
arch/x86/platform/mrst/mrst.c