1. 03 Jun, 2004 2 commits
  2. 02 Jun, 2004 1 commit
    • Patrick Mochel's avatar
      [Driver Model] Consolidate attribute definition macros · fb86ec51
      Patrick Mochel authored
      - Create __ATTR(), __ATTR_RO(), and __ATTR_NULL macros to help define 
        attributes in a neat, short-hand form. 
      
      - Apply these macros to the attribute definition in include/linux/device.h
      
      - Note: These can be used to more cleanly define attributes in your own
        code. e.g: 
      
      	static struct device_attribute attrs[] = {
      		__ATTR_RO(foo),
      		__ATTR_RO(bar),
      		__ATTR(baz,0666,baz_show,baz_store),
      		__ATTR_NULL,
      	};
      
        ...etc. 
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      fb86ec51
  3. 31 May, 2004 12 commits
  4. 01 Jun, 2004 6 commits
  5. 31 May, 2004 19 commits