imamnurby/smpl_train_seed8 huggingface dataset:
--- initial
+++ final
@@ -1,5 +1,5 @@
 void __init time_init(void) {
   of_clk_init(NULL);
   setup_cpuinfo_clk();
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,22 +1,22 @@
 void __init spear13xx_timer_init(void) {
   char pclk_name[] = "osc_24m_clk";
   struct clk *gpt_clk, *pclk;
   spear13xx_clk_init();
   /* get the system timer clock */
   gpt_clk = clk_get_sys("gpt0", NULL);
   if (IS_ERR(gpt_clk)) {
     pr_err("%s:couldn't get clk for gpt\n", __func__);
     BUG();
   }
   /* get the suitable parent clock for timer*/
   pclk = clk_get(NULL, pclk_name);
   if (IS_ERR(pclk)) {
     pr_err("%s:couldn't get %s as parent for gpt\n", __func__, pclk_name);
     BUG();
   }
   clk_set_parent(gpt_clk, pclk);
   clk_put(gpt_clk);
   clk_put(pclk);
   spear_setup_of_timer();
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,5 +1,5 @@
 static void __init sun6i_timer_init(void) {
   of_clk_init(NULL);
   if (IS_ENABLED(CONFIG_RESET_CONTROLLER)) sun6i_reset_init();
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,16 +1,16 @@
 void __init time_init(void) {
   of_clk_init(NULL);
 #ifdef CONFIG_XTENSA_CALIBRATE_CCOUNT
   pr_info("Calibrating CPU frequency ");
   calibrate_ccount();
   pr_cont("%d.%02d MHz\n", (int)ccount_freq / 1000000, (int)(ccount_freq / 10000) % 100);
 #else
   ccount_freq = CONFIG_XTENSA_CPU_CLOCK * 1000000UL;
 #endif
   WARN(!ccount_freq, "%s: CPU clock frequency is not set up correctly\n", __func__);
   clocksource_register_hz(&ccount_clocksource, ccount_freq);
   local_timer_setup(0);
   setup_irq(this_cpu_ptr(&ccount_timer)->evt.irq, &timer_irqaction);
   sched_clock_register(ccount_sched_clock_read, 32, ccount_freq);
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,5 +1,5 @@
 void __init plat_time_init(void) {
   ralink_of_remap();
   of_clk_init(NULL);
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,4 +1,4 @@
 void __init omap3_gptimer_timer_init(void) {
   __omap_sync32k_timer_init(2, "timer_sys_ck", NULL, 1, "timer_sys_ck", "ti,timer-alwon", true);
-  if (of_have_populated_dt()) clocksource_probe();
+  if (of_have_populated_dt()) timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,4 +1,4 @@
 void __init omap3_secure_sync32k_timer_init(void) {
   __omap_sync32k_timer_init(12, "secure_32k_fck", "ti,timer-secure", 2, "timer_sys_ck", NULL, false);
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,4 +1,4 @@
 void __init omap4_local_timer_init(void) {
   omap4_sync32k_timer_init();
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,5 +1,5 @@
 void __init omap5_realtime_timer_init(void) {
   omap4_sync32k_timer_init();
   realtime_counter_init();
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,4 +1,4 @@
 void __init omap_init_time(void) {
   __omap_sync32k_timer_init(1, "timer_32k_ck", "ti,timer-alwon", 2, "timer_sys_ck", NULL, false);
-  clocksource_probe();
+  timer_probe();
 }<sep>@@
@@
-       clocksource_probe();
+       timer_probe();
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int vortex_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct vortex_private *vp = netdev_priv(dev);
-  return mii_ethtool_get_link_ksettings(&vp->mii, cmd);
+  mii_ethtool_get_link_ksettings(&vp->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,9 +1,8 @@
 static int cp_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct cp_private *cp = netdev_priv(dev);
-  int rc;
   unsigned long flags;
   spin_lock_irqsave(&cp->lock, flags);
-  rc = mii_ethtool_get_link_ksettings(&cp->mii_if, cmd);
+  mii_ethtool_get_link_ksettings(&cp->mii_if, cmd);
   spin_unlock_irqrestore(&cp->lock, flags);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int ax88179_get_link_ksettings(struct net_device *net, struct ethtool_link_ksettings *cmd) {
   struct usbnet *dev = netdev_priv(net);
-  return mii_ethtool_get_link_ksettings(&dev->mii, cmd);
+  mii_ethtool_get_link_ksettings(&dev->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int e100_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) {
   struct nic *nic = netdev_priv(netdev);
-  return mii_ethtool_get_link_ksettings(&nic->mii, cmd);
+  mii_ethtool_get_link_ksettings(&nic->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int ep93xx_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct ep93xx_priv *ep = netdev_priv(dev);
-  return mii_ethtool_get_link_ksettings(&ep->mii, cmd);
+  mii_ethtool_get_link_ksettings(&ep->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,8 +1,7 @@
 static int netdev_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct epic_private *np = netdev_priv(dev);
-  int rc;
   spin_lock_irq(&np->lock);
-  rc = mii_ethtool_get_link_ksettings(&np->mii, cmd);
+  mii_ethtool_get_link_ksettings(&np->mii, cmd);
   spin_unlock_irq(&np->lock);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,13 +1,12 @@
 static int e100_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct net_local *np = netdev_priv(dev);
   u32 supported;
-  int err;
   spin_lock_irq(&np->lock);
-  err = mii_ethtool_get_link_ksettings(&np->mii_if, cmd);
+  mii_ethtool_get_link_ksettings(&np->mii_if, cmd);
   spin_unlock_irq(&np->lock);
   /* The PHY may support 1000baseT, but the Etrax100 does not.  */
   ethtool_convert_link_mode_to_legacy_u32(&supported, cmd->link_modes.supported);
   supported &= ~(SUPPORTED_1000baseT_Half | SUPPORTED_1000baseT_Full);
   ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, supported);
-  return err;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,8 +1,7 @@
 static int netdev_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct netdev_private *np = netdev_priv(dev);
-  int rc;
   spin_lock_irq(&np->lock);
-  rc = mii_ethtool_get_link_ksettings(&np->mii, cmd);
+  mii_ethtool_get_link_ksettings(&np->mii, cmd);
   spin_unlock_irq(&np->lock);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int ftmac100_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) {
   struct ftmac100 *priv = netdev_priv(netdev);
-  return mii_ethtool_get_link_ksettings(&priv->mii, cmd);
+  mii_ethtool_get_link_ksettings(&priv->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,8 +1,7 @@
 static int ioc3_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct ioc3_private *ip = netdev_priv(dev);
-  int rc;
   spin_lock_irq(&ip->ioc3_lock);
-  rc = mii_ethtool_get_link_ksettings(&ip->mii, cmd);
+  mii_ethtool_get_link_ksettings(&ip->mii, cmd);
   spin_unlock_irq(&ip->ioc3_lock);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,8 +1,7 @@
 static int jme_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) {
   struct jme_adapter *jme = netdev_priv(netdev);
-  int rc;
   spin_lock_bh(&jme->phy_lock);
-  rc = mii_ethtool_get_link_ksettings(&jme->mii_if, cmd);
+  mii_ethtool_get_link_ksettings(&jme->mii_if, cmd);
   spin_unlock_bh(&jme->phy_lock);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,8 +1,7 @@
 static int netdev_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct korina_private *lp = netdev_priv(dev);
-  int rc;
   spin_lock_irq(&lp->lock);
-  rc = mii_ethtool_get_link_ksettings(&lp->mii_if, cmd);
+  mii_ethtool_get_link_ksettings(&lp->mii_if, cmd);
   spin_unlock_irq(&lp->lock);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int ks8851_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct ks8851_net *ks = netdev_priv(dev);
-  return mii_ethtool_get_link_ksettings(&ks->mii, cmd);
+  mii_ethtool_get_link_ksettings(&ks->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int ks_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) {
   struct ks_net *ks = netdev_priv(netdev);
-  return mii_ethtool_get_link_ksettings(&ks->mii, cmd);
+  mii_ethtool_get_link_ksettings(&ks->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,14 +1,13 @@
 static int pch_gbe_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ecmd) {
   struct pch_gbe_adapter *adapter = netdev_priv(netdev);
   u32 supported, advertising;
-  int ret;
-  ret = mii_ethtool_get_link_ksettings(&adapter->mii, ecmd);
+  mii_ethtool_get_link_ksettings(&adapter->mii, ecmd);
   ethtool_convert_link_mode_to_legacy_u32(&supported, ecmd->link_modes.supported);
   ethtool_convert_link_mode_to_legacy_u32(&advertising, ecmd->link_modes.advertising);
   supported &= ~(SUPPORTED_TP | SUPPORTED_1000baseT_Half);
   advertising &= ~(ADVERTISED_TP | ADVERTISED_1000baseT_Half);
   ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported, supported);
   ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.advertising, advertising);
   if (!netif_carrier_ok(adapter->netdev)) ecmd->base.speed = SPEED_UNKNOWN;
-  return ret;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int rtl8169_get_link_ksettings_xmii(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct rtl8169_private *tp = netdev_priv(dev);
-  return mii_ethtool_get_link_ksettings(&tp->mii, cmd);
+  mii_ethtool_get_link_ksettings(&tp->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int sis190_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct sis190_private *tp = netdev_priv(dev);
-  return mii_ethtool_get_link_ksettings(&tp->mii_if, cmd);
+  mii_ethtool_get_link_ksettings(&tp->mii_if, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,9 +1,8 @@
 static int tsi108_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct tsi108_prv_data *data = netdev_priv(dev);
   unsigned long flags;
-  int rc;
   spin_lock_irqsave(&data->txlock, flags);
-  rc = mii_ethtool_get_link_ksettings(&data->mii_if, cmd);
+  mii_ethtool_get_link_ksettings(&data->mii_if, cmd);
   spin_unlock_irqrestore(&data->txlock, flags);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,5 +1,6 @@
 int usbnet_get_link_ksettings(struct net_device *net, struct ethtool_link_ksettings *cmd) {
   struct usbnet *dev = netdev_priv(net);
   if (!dev->mii.mdio_read) return -EOPNOTSUPP;
-  return mii_ethtool_get_link_ksettings(&dev->mii, cmd);
+  mii_ethtool_get_link_ksettings(&dev->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,8 +1,7 @@
 static int netdev_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct rhine_private *rp = netdev_priv(dev);
-  int rc;
   mutex_lock(&rp->task_lock);
-  rc = mii_ethtool_get_link_ksettings(&rp->mii_if, cmd);
+  mii_ethtool_get_link_ksettings(&rp->mii_if, cmd);
   mutex_unlock(&rp->task_lock);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,4 +1,5 @@
 static int w90p910_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct w90p910_ether *ether = netdev_priv(dev);
-  return mii_ethtool_get_link_ksettings(&ether->mii, cmd);
+  mii_ethtool_get_link_ksettings(&ether->mii, cmd);
+  return 0;
 }<sep>@@
expression e1,e2;
@@
-       return mii_ethtool_get_link_ksettings(e1,e2);
+       mii_ethtool_get_link_ksettings(e1,e2);
+       return 0;
--- initial
+++ final
@@ -1,8 +1,7 @@
 static int netdev_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) {
   struct netdev_private *np = netdev_priv(dev);
-  int rc;
   spin_lock_irq(&np->lock);
-  rc = mii_ethtool_get_link_ksettings(&np->mii_if, cmd);
+  mii_ethtool_get_link_ksettings(&np->mii_if, cmd);
   spin_unlock_irq(&np->lock);
-  return rc;
+  return 0;
 }<sep>@call@
identifier r;
expression e1,e2;
expression e!=0;
@@
-       r =
          mii_ethtool_get_link_ksettings(e1,e2);
	<...
-	r
+	0
	...>
?	r = e

@@
identifier call.r;
expression e1,e2;
type T;
@@

(
-T r;
 ... when !=r
&
 T r;
 ... when exists
 mii_ethtool_get_link_ksettings(e1,e2);
)
--- initial
+++ final
@@ -1,16 +1,16 @@
 static int pinconf_groups_show(struct seq_file *s, void *what) {
   struct pinctrl_dev *pctldev = s->private;
   const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
   unsigned ngroups = pctlops->get_groups_count(pctldev);
   unsigned selector = 0;
   seq_puts(s, "Pin config settings per pin group\n");
   seq_puts(s, "Format: group (name): configs\n");
   while (selector < ngroups) {
     const char *gname = pctlops->get_group_name(pctldev, selector);
     seq_printf(s, "%u (%s): ", selector, gname);
     pinconf_dump_group(pctldev, s, selector, gname);
-    seq_printf(s, "\n");
+    seq_putc(s, '\n');
     selector++;
   }
   return 0;
 }<sep>@@
expression s;
@@
-               seq_printf(s, "\n");
+               seq_putc(s, '\n');
--- initial
+++ final
@@ -1,20 +1,20 @@
 static int pinconf_pins_show(struct seq_file *s, void *what) {
   struct pinctrl_dev *pctldev = s->private;
   unsigned i, pin;
   seq_puts(s, "Pin config settings per pin\n");
   seq_puts(s, "Format: pin (name): configs\n");
   mutex_lock(&pctldev->mutex);
   /* The pin number can be retrived from the pin controller descriptor */
   for (i = 0; i < pctldev->desc->npins; i++) {
     struct pin_desc *desc;
     pin = pctldev->desc->pins[i].number;
     desc = pin_desc_get(pctldev, pin);
     /* Skip if we cannot search the pin */
     if (desc == NULL) continue;
     seq_printf(s, "pin %d (%s): ", pin, desc->name);
     pinconf_dump_pin(pctldev, s, pin);
-    seq_printf(s, "\n");
+    seq_putc(s, '\n');
   }
   mutex_unlock(&pctldev->mutex);
   return 0;
 }<sep>@@
expression s;
@@
-               seq_printf(s, "\n");
+               seq_putc(s, '\n');
--- initial
+++ final
@@ -1,16 +1,16 @@
 static void pinconf_show_config(struct seq_file *s, struct pinctrl_dev *pctldev, unsigned long *configs, unsigned num_configs) {
   const struct pinconf_ops *confops;
   int i;
   if (pctldev)
     confops = pctldev->desc->confops;
   else
     confops = NULL;
   for (i = 0; i < num_configs; i++) {
     seq_puts(s, "config ");
     if (confops && confops->pin_config_config_dbg_show)
       confops->pin_config_config_dbg_show(pctldev, s, configs[i]);
     else
       seq_printf(s, "%08lx", configs[i]);
-    seq_puts(s, "\n");
+    seq_putc(s, '\n');
   }
 }<sep>@@
expression s;
@@
-               seq_puts(s, "\n");
+               seq_putc(s, '\n');
--- initial
+++ final
@@ -1,12 +1,12 @@
 static void bdisp_dbg_dump_fctl(struct seq_file *s, u32 val) {
   seq_printf(s, "FCTL\t0x%08X\t", val);
   if ((val & BLT_FCTL_Y_HV_SCALE) == BLT_FCTL_Y_HV_SCALE)
     seq_puts(s, "Resize Luma - ");
   else if ((val & BLT_FCTL_Y_HV_SCALE) == BLT_FCTL_Y_HV_SAMPLE)
     seq_puts(s, "Sample Luma - ");
   if ((val & BLT_FCTL_HV_SCALE) == BLT_FCTL_HV_SCALE)
     seq_puts(s, "Resize Chroma");
   else if ((val & BLT_FCTL_HV_SCALE) == BLT_FCTL_HV_SAMPLE)
     seq_puts(s, "Sample Chroma");
-  seq_puts(s, "\n");
+  seq_putc(s, '\n');
 }<sep>@@
expression s;
@@
-               seq_puts(s, "\n");
+               seq_putc(s, '\n');
--- initial
+++ final
@@ -1,34 +1,34 @@
 static void bdisp_dbg_dump_ins(struct seq_file *s, u32 val) {
   seq_printf(s, "INS\t0x%08X\t", val);
   switch (val & BLT_INS_S1_MASK) {
   case BLT_INS_S1_OFF: break;
   case BLT_INS_S1_MEM: seq_puts(s, "SRC1=mem - "); break;
   case BLT_INS_S1_CF: seq_puts(s, "SRC1=ColorFill - "); break;
   case BLT_INS_S1_COPY: seq_puts(s, "SRC1=copy - "); break;
   case BLT_INS_S1_FILL: seq_puts(s, "SRC1=fil - "); break;
   default: seq_puts(s, "SRC1=??? - "); break;
   }
   switch (val & BLT_INS_S2_MASK) {
   case BLT_INS_S2_OFF: break;
   case BLT_INS_S2_MEM: seq_puts(s, "SRC2=mem - "); break;
   case BLT_INS_S2_CF: seq_puts(s, "SRC2=ColorFill - "); break;
   default: seq_puts(s, "SRC2=??? - "); break;
   }
   if ((val & BLT_INS_S3_MASK) == BLT_INS_S3_MEM) seq_puts(s, "SRC3=mem - ");
   if (val & BLT_INS_IVMX) seq_puts(s, "IVMX - ");
   if (val & BLT_INS_CLUT) seq_puts(s, "CLUT - ");
   if (val & BLT_INS_SCALE) seq_puts(s, "Scale - ");
   if (val & BLT_INS_FLICK) seq_puts(s, "Flicker - ");
   if (val & BLT_INS_CLIP) seq_puts(s, "Clip - ");
   if (val & BLT_INS_CKEY) seq_puts(s, "ColorKey - ");
   if (val & BLT_INS_OVMX) seq_puts(s, "OVMX - ");
   if (val & BLT_INS_DEI) seq_puts(s, "Deint - ");
   if (val & BLT_INS_PMASK) seq_puts(s, "PlaneMask - ");
   if (val & BLT_INS_VC1R) seq_puts(s, "VC1R - ");
   if (val & BLT_INS_ROTATE) seq_puts(s, "Rotate - ");
   if (val & BLT_INS_GRAD) seq_puts(s, "GradFill - ");
   if (val & BLT_INS_AQLOCK) seq_puts(s, "AQLock - ");
   if (val & BLT_INS_PACE) seq_puts(s, "Pace - ");
   if (val & BLT_INS_IRQ) seq_puts(s, "IRQ - ");
-  seq_puts(s, "\n");
+  seq_putc(s, '\n');
 }<sep>@@
expression s;
@@
-               seq_puts(s, "\n");
+               seq_putc(s, '\n');
--- initial
+++ final
@@ -1,19 +1,19 @@
 static void bdisp_dbg_dump_ivmx(struct seq_file *s, u32 c0, u32 c1, u32 c2, u32 c3) {
   seq_printf(s, "IVMX0\t0x%08X\n", c0);
   seq_printf(s, "IVMX1\t0x%08X\n", c1);
   seq_printf(s, "IVMX2\t0x%08X\n", c2);
   seq_printf(s, "IVMX3\t0x%08X\t", c3);
   if (!c0 && !c1 && !c2 && !c3) {
-    seq_puts(s, "\n");
+    seq_putc(s, '\n');
     return;
   }
   if ((c0 == bdisp_rgb_to_yuv[0]) && (c1 == bdisp_rgb_to_yuv[1]) && (c2 == bdisp_rgb_to_yuv[2]) && (c3 == bdisp_rgb_to_yuv[3])) {
     seq_puts(s, "RGB to YUV\n");
     return;
   }
   if ((c0 == bdisp_yuv_to_rgb[0]) && (c1 == bdisp_yuv_to_rgb[1]) && (c2 == bdisp_yuv_to_rgb[2]) && (c3 == bdisp_yuv_to_rgb[3])) {
     seq_puts(s, "YUV to RGB\n");
     return;
   }
   seq_puts(s, "Unknown conversion\n");
 }<sep>@@
expression s;
@@
-               seq_puts(s, "\n");
+               seq_putc(s, '\n');
--- initial
+++ final
@@ -1,11 +1,11 @@
 static void bdisp_dbg_dump_rsf(struct seq_file *s, u32 val, char *name) {
   u32 inc;
   seq_printf(s, "%s\t0x%08X\t", name, val);
   if (!val) goto done;
   inc = val & 0xFFFF;
   seq_printf(s, "H: %d(6.10) / scale~%dx0.1 - ", inc, 1024 * 10 / inc);
   inc = val >> 16;
   seq_printf(s, "V: %d(6.10) / scale~%dx0.1", inc, 1024 * 10 / inc);
 done:
-  seq_puts(s, "\n");
+  seq_putc(s, '\n');
 }<sep>@@
expression s;
@@
-               seq_puts(s, "\n");
+               seq_putc(s, '\n');
--- initial
+++ final
@@ -1,9 +1,9 @@
 static void bdisp_dbg_dump_rzi(struct seq_file *s, u32 val, char *name) {
   seq_printf(s, "%s\t0x%08X\t", name, val);
   if (!val) goto done;
   seq_printf(s, "H: init=%d repeat=%d - ", val & 0x3FF, (val >> 12) & 7);
   val >>= 16;
   seq_printf(s, "V: init=%d repeat=%d", val & 0x3FF, (val >> 12) & 7);
 done:
-  seq_puts(s, "\n");
+  seq_putc(s, '\n');
 }<sep>@@
expression s;
@@
-               seq_puts(s, "\n");
+               seq_putc(s, '\n');