This patch Convert pr_warning to pr_warn.

Signed-off-by: Masanari Iida <standby2...@gmail.com>

---
 drivers/staging/emxx_udc/emxx_udc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/emxx_udc/emxx_udc.c 
b/drivers/staging/emxx_udc/emxx_udc.c
index adc24a9..ce0749c 100644
--- a/drivers/staging/emxx_udc/emxx_udc.c
+++ b/drivers/staging/emxx_udc/emxx_udc.c
@@ -2171,7 +2171,7 @@ static inline void _nbu2ss_epn_int(struct nbu2ss_udc 
*udc, u32 epnum)
                req = list_entry(ep->queue.next, struct nbu2ss_req, queue);
 
        if (req == NULL) {
-               /* pr_warning("=== %s(%d) req == NULL\n", __func__, epnum); */
+               /* pr_warn("=== %s(%d) req == NULL\n", __func__, epnum); */
                return;
        }
 
@@ -3111,7 +3111,7 @@ static int nbu2ss_gad_wakeup(struct usb_gadget *pgadget)
 
        data = gpio_get_value(VBUS_VALUE);
        if (data == 0) {
-               pr_warning("VBUS LEVEL = %d\n", data);
+               pr_warn("VBUS LEVEL = %d\n", data);
                return -EINVAL;
        }
 
@@ -3197,7 +3197,7 @@ static int nbu2ss_gad_pullup(struct usb_gadget *pgadget, 
int is_on)
        udc = container_of(pgadget, struct nbu2ss_udc, gadget);
 
        if (udc->driver == NULL) {
-               pr_warning("%s, Not Regist Driver\n", __func__);
+               pr_warn("%s, Not Regist Driver\n", __func__);
                return -EINVAL;
        }
 
-- 
2.1.0.238.gce1d3a9

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to