From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH V2 4/5] input: pxa27x-keypad: remove the unused members at platform data Date: Mon, 17 Jun 2013 15:10:27 +0200 Message-ID: <5701258.F0sLjHKir2@wuerfel> References: <1367809448-9437-1-git-send-email-chao.xie@marvell.com> <1367809448-9437-5-git-send-email-chao.xie@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from moutng.kundenserver.de ([212.227.126.186]:65373 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756209Ab3FQNJs (ORCPT ); Mon, 17 Jun 2013 09:09:48 -0400 In-Reply-To: <1367809448-9437-5-git-send-email-chao.xie@marvell.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Chao Xie Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, haojian.zhuang@gmail.com, xiechao.mail@gmail.com On Sunday 05 May 2013 23:04:07 Chao Xie wrote: > Now pxa27x-keypad make use matrix_keymap for matrix keyes, so > remove the unused members in platform data. > > Signed-off-by: Chao Xie > --- > include/linux/platform_data/keypad-pxa27x.h | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/include/linux/platform_data/keypad-pxa27x.h b/include/linux/platform_data/keypad-pxa27x.h > index 0db423b..2462556 100644 > --- a/include/linux/platform_data/keypad-pxa27x.h > +++ b/include/linux/platform_data/keypad-pxa27x.h > @@ -39,8 +39,6 @@ struct pxa27x_keypad_platform_data { > const struct matrix_keymap_data *matrix_keymap_data; > unsigned int matrix_key_rows; > unsigned int matrix_key_cols; > - unsigned int *matrix_key_map; > - int matrix_key_map_size; > > /* direct keys */ > int direct_key_num; This just broke a number of configurations: em_x270_defconfig ezx_defconfig palmz72_defconfig pxa3xx_defconfig You have to make sure that all these board files get converted: arch/arm/mach-pxa/em-x270.c arch/arm/mach-pxa/ezx.c arch/arm/mach-pxa/littleton.c arch/arm/mach-pxa/mainstone.c arch/arm/mach-pxa/mioa701.c arch/arm/mach-pxa/palmld.c arch/arm/mach-pxa/palmt5.c arch/arm/mach-pxa/palmtreo.c arch/arm/mach-pxa/palmtx.c arch/arm/mach-pxa/palmz72.c arch/arm/mach-pxa/tavorevb.c arch/arm/mach-pxa/z2.c arch/arm/mach-pxa/zylonite.c or leave the code to interpret that platform data in place. Arnd