commit | 91872392f08486f692887d2f06a333f512648f22 | [log] [tgz] |
---|---|---|
author | Borislav Petkov <bp@alien8.de> | Tue Oct 09 19:52:05 2012 +0200 |
committer | Borislav Petkov <bp@alien8.de> | Fri Oct 26 14:37:55 2012 +0200 |
tree | 24f82690f04c3282c36bc81d60763687badf33c6 | |
parent | 6f0c0580b70c89094b3422ba81118c7b959c7556 [diff] |
drivers/base: Add a DEVICE_BOOL_ATTR macro ... which, analogous to DEVICE_INT_ATTR provides functionality to set/clear bools. Its purpose is to be used where values need to be used as booleans in configuration context. Next patch uses this. Signed-off-by: Borislav Petkov <bp@alien8.de> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Tony Luck <tony.luck@intel.com>