static int lp8557_bl_off(struct lp855x *lp)
{
	int ret = 0;
	u8 val;
	/* BL_ON = 0 before updating EPROM settings */
	ret = lp855x_update_bit(lp, LP8557_BL_CMD, LP8557_BL_MASK,
			LP8557_BL_OFF);
	if (ret) {
		dev_err(lp->dev, "set BL_ON = 0 err: %d\n", ret);
		goto exit;
	}
	val = lp->pdata->device_control;
	ret = lp855x_write_byte(lp, LP8557_CONFIG, val);
	if (ret) {
		dev_err(lp->dev, "set LP8557_CONFIG err: %d\n", ret);
	}
exit:
	return ret;
}
static int lp8557_bl_on(struct lp855x *lp)
{
	/* BL_ON = 1 after updating EPROM settings */
	return lp855x_update_bit(lp, LP8557_BL_CMD, LP8557_BL_MASK,
				LP8557_BL_ON);
}
static int lp8557_bl_off(struct lp855x *lp)
{
	/* BL_ON = 0 before updating EPROM settings */
	return lp855x_update_bit(lp, LP8557_BL_CMD, LP8557_BL_MASK,
				LP8557_BL_OFF);
}