drivers/lcd/st7567.c: Remove references to non existent st7567_powerstring

This commit is contained in:
YAMAMOTO Takashi 2020-11-26 09:27:57 +09:00 committed by Xiang Xiao
parent 7b897ac186
commit 56dcad1540

View File

@ -729,7 +729,7 @@ static int st7567_getpower(struct lcd_dev_s *dev)
{
struct st7567_dev_s *priv = (struct st7567_dev_s *)dev;
DEBUGASSERT(priv);
ginfo("powered: %s\n", st7567_powerstring(priv->powered));
return priv->powered;
}
@ -747,8 +747,6 @@ static int st7567_setpower(struct lcd_dev_s *dev, int power)
struct st7567_dev_s *priv = (struct st7567_dev_s *)dev;
DEBUGASSERT(priv && (unsigned)power <= CONFIG_LCD_MAXPOWER);
ginfo("power: %s powered: %s\n",
st7567_powerstring(power), st7567_powerstring(priv->powered));
/* Select and lock the device */