The DEVICE_FOO macros are always defined (either 0 or 1). This patch replaces any instances of a define check on a DEVICE_FOO macro with value test instead. Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Persist the max_keys value through a soft-reset, also prohibit max_keys set under predefined default value (16)