Input: bfin_rotary - move pin lists into into platform data
Newer Blackfin boards use pinctrl API to manage pins and the legacy peripherial lists are not useful on them. Let's move pin lists into platform data so older boards can still use them and newer boards can use the modern API. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:

committed by
Dmitry Torokhov

parent
1ea74014ab
commit
5ea0699a7b
@@ -40,6 +40,7 @@ struct bfin_rotary_platform_data {
|
||||
unsigned short debounce; /* 0..17 */
|
||||
unsigned short mode;
|
||||
unsigned short pm_wakeup;
|
||||
unsigned short *pin_list;
|
||||
};
|
||||
|
||||
/* CNT_CONFIG bitmasks */
|
||||
|
Reference in New Issue
Block a user