Lars-Peter Clausen <[email protected]> writes: > If the battery is not present hdq_read will always return an error. > If the drivers knows that the battery is not present the correct thing to do > is > to return -ENODEV instead of passing the error on. > Do this for all properties except POWER_SUPPLY_PROP_PRESENT. > > The power supply sysfs expects us to do so, else it won't generate a proper > uevent file.
Applied after adding your Signed-off-by. Thanks! :) -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected]
