dm: key: remove deprecated platform_read_key()

Change-Id: I88af911581b94f59504124786cb1adaa82dae12f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2018-07-21 11:18:27 +08:00
parent fd62311e53
commit 68995a9bef
2 changed files with 0 additions and 8 deletions

View File

@ -196,11 +196,6 @@ out:
return keyval;
}
int platform_key_read(int code)
{
return KEY_NOT_EXIST;
}
UCLASS_DRIVER(key) = {
.id = UCLASS_KEY,
.name = "key",

View File

@ -62,7 +62,4 @@ int key_is_pressed(int keyval);
/* Read key */
int key_read(int code);
/* deprecated */
int platform_key_read(int code);
#endif