> + if (keee_stored.eee_enabled == keee_requested->eee_enabled) > + return -EALREADY;
I know this is just moving code around, but i don't know of any other
implementation of EEE which returns -EALREADY when no change has been
requested by the user. Maybe in a follow up patch you change this to 0?
Andrew
