-
Patrick Mochel authored
These behave identically to device attribute files, but with different types. We get struct bus_attribute, and a macro, BUS_ATTR for declaring attributes. It takes the same parameters as DEVICE_ATTR, though the callbacks for bus attributes take a struct bus_type as the first parameter.
9eba2d84