* the maintenance timer
* @timer: pointer to the timer structure
*
- * This function gets called when the maintenence timer
+ * This function gets called when the maintenance timer
* expires
*/
static enum hrtimer_restart
/**
* ab8500_chargalg_start_maintenance_timer() - Start charging maintenance timer
* @di: pointer to the ab8500_chargalg structure
- * @duration: duration of ther maintenance timer in minutes
+ * @duration: duration of the maintenance timer in minutes
*
* The maintenance timer is used to maintain the charge in the battery once
* the battery is considered full. These timers are chosen to match the
STATE_SAFETY_TIMER_EXPIRED_INIT);
}
/*
- * Check if any interrupts has occured
+ * Check if any interrupts has occurred
* that will prevent us from charging
*/
bi->alert_high_temp_charge_voltage_uv,
bi->alert_high_temp_charge_current_ua);
} else {
- dev_err(di->dev, "neither low or high temp event occured\n");
+ dev_err(di->dev, "neither low or high temp event occurred\n");
ab8500_chargalg_state_to(di, STATE_NORMAL_INIT);
break;
}