Commit 863e652e authored by Alex Elder's avatar Alex Elder Committed by Greg Kroah-Hartman

greybus: db3-platform: fix some typos

Fix misspelled "mandatory," and use "GPIOs" for the plural form (no
apostrophe and capitalized) in comments.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent d934a88d
...@@ -75,9 +75,9 @@ static irqreturn_t apb_ctrl_wake_detect_irq(int irq, void *devid) ...@@ -75,9 +75,9 @@ static irqreturn_t apb_ctrl_wake_detect_irq(int irq, void *devid)
/* /*
* TODO: * TODO:
* Since currently SoC gpio's are being used we are safe here * Since currently SoC GPIOs are being used we are safe here
* But ideally we should create a workqueue and process the control * But ideally we should create a workqueue and process the control
* signals, especially when we start using GPIO's over slow * signals, especially when we start using GPIOs over slow
* buses like I2C. * buses like I2C.
*/ */
if (!gpio_is_valid(apb_data->ctrl.wake_detect) && if (!gpio_is_valid(apb_data->ctrl.wake_detect) &&
...@@ -209,7 +209,7 @@ static int apb_ctrl_get_devtree_data(struct device *dev, ...@@ -209,7 +209,7 @@ static int apb_ctrl_get_devtree_data(struct device *dev,
return apb_data->ctrl.boot_ret; return apb_data->ctrl.boot_ret;
} }
/* It's not mandetory to support power management interface */ /* It's not mandatory to support power management interface */
apb_data->ctrl.pwroff = of_get_named_gpio(np, "pwr-off-gpios", 0); apb_data->ctrl.pwroff = of_get_named_gpio(np, "pwr-off-gpios", 0);
if (apb_data->ctrl.pwroff < 0 || if (apb_data->ctrl.pwroff < 0 ||
!gpio_is_valid(apb_data->ctrl.pwroff)) !gpio_is_valid(apb_data->ctrl.pwroff))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment