Skip to content

Commit

Permalink
Input: remove use of __devinitdata
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devinitdata is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Bill Pemberton authored and Dmitry Torokhov committed Nov 24, 2012
1 parent 1cb0aa8 commit d6f6dfd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/input/keyboard/tegra-kbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct tegra_kbc {
struct clk *clk;
};

static const u32 tegra_kbc_default_keymap[] __devinitdata = {
static const u32 tegra_kbc_default_keymap[] = {
KEY(0, 2, KEY_W),
KEY(0, 3, KEY_S),
KEY(0, 4, KEY_A),
Expand Down Expand Up @@ -223,7 +223,7 @@ static const u32 tegra_kbc_default_keymap[] __devinitdata = {
};

static const
struct matrix_keymap_data tegra_kbc_default_keymap_data __devinitdata = {
struct matrix_keymap_data tegra_kbc_default_keymap_data = {
.keymap = tegra_kbc_default_keymap,
.keymap_size = ARRAY_SIZE(tegra_kbc_default_keymap),
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/misc/bma150.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ struct bma150_data {
* are stated and verified by Bosch Sensortec where they are configured
* to provide a generic sensitivity performance.
*/
static struct bma150_cfg default_cfg __devinitdata = {
static struct bma150_cfg default_cfg = {
.any_motion_int = 1,
.hg_int = 1,
.lg_int = 1,
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/mms114.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ static const struct i2c_device_id mms114_id[] = {
MODULE_DEVICE_TABLE(i2c, mms114_id);

#ifdef CONFIG_OF
static struct of_device_id __devinitdata mms114_dt_match[] = {
static struct of_device_id mms114_dt_match[] = {
{ .compatible = "melfas,mms114" },
{ }
};
Expand Down

0 comments on commit d6f6dfd

Please sign in to comment.