This patch fixes the checkpatch warning about coding style.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
                dev_err(info->dev, "failed to handle MUIC interrupt\n");
 
        mutex_unlock(&info->mutex);
-
-       return;
 }
 
 /*
                                muic_irq->name, info);
                if (ret) {
                        dev_err(&pdev->dev,
-                               "failed: irq request (IRQ: %d,"
-                               " error :%d)\n",
+                               "failed: irq request (IRQ: %d, error :%d)\n",
                                muic_irq->irq, ret);
                        return ret;
                }
 
                dev_err(info->dev, "failed to handle MUIC interrupt\n");
 
        mutex_unlock(&info->mutex);
-
-       return;
 }
 
 static irqreturn_t max77693_muic_irq_handler(int irq, void *data)
                                muic_irq->name, info);
                if (ret) {
                        dev_err(&pdev->dev,
-                               "failed: irq request (IRQ: %d,"
-                               " error :%d)\n",
+                               "failed: irq request (IRQ: %d, error :%d)\n",
                                muic_irq->irq, ret);
                        return ret;
                }
 
                dev_err(info->dev, "failed to handle MUIC interrupt\n");
 
        mutex_unlock(&info->mutex);
-
-       return;
 }
 
 static irqreturn_t max8997_muic_irq_handler(int irq, void *data)
                                muic_irq->name, info);
                if (ret) {
                        dev_err(&pdev->dev,
-                               "failed: irq request (IRQ: %d,"
-                               " error :%d)\n",
+                               "failed: irq request (IRQ: %d, error :%d)\n",
                                muic_irq->irq, ret);
                        goto err_irq;
                }
 
                return -EINVAL;
 
        info = devm_kzalloc(&i2c->dev, sizeof(*info), GFP_KERNEL);
-       if (!info) {
-               dev_err(&i2c->dev, "failed to allocate memory\n");
+       if (!info)
                return -ENOMEM;
-       }
        i2c_set_clientdata(i2c, info);
 
        info->dev = &i2c->dev;
        return 0;
 }
 
-static struct of_device_id rt8973a_dt_match[] = {
+static const struct of_device_id rt8973a_dt_match[] = {
        { .compatible = "richtek,rt8973a-muic" },
        { },
 };
 
                        break;
                default:
                        dev_dbg(info->dev,
-                               "cannot identify the cable type: adc(0x%x) "
-                               "dev_type1(0x%x)\n", adc, dev_type1);
+                               "cannot identify the cable type: adc(0x%x)\n",
+                               adc);
                        return -EINVAL;
                };
                break;
        return 0;
 }
 
-static struct of_device_id sm5502_dt_match[] = {
+static const struct of_device_id sm5502_dt_match[] = {
        { .compatible = "siliconmitus,sm5502-muic" },
        { },
 };
 
 static SIMPLE_DEV_PM_OPS(usb_extcon_pm_ops,
                         usb_extcon_suspend, usb_extcon_resume);
 
-static struct of_device_id usb_extcon_dt_match[] = {
+static const struct of_device_id usb_extcon_dt_match[] = {
        { .compatible = "linux,extcon-usb-gpio", },
        { /* sentinel */ }
 };
 
        /* Optional callback given by the user */
        if (edev->print_name) {
                int ret = edev->print_name(edev, buf);
+
                if (ret >= 0)
                        return ret;
        }