staging: omap-thermal: rename enable_continuous_mode
authorEduardo Valentin <eduardo.valentin@ti.com>
Fri, 15 Mar 2013 13:00:24 +0000 (09:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 16:02:23 +0000 (09:02 -0700)
This patch names 'enable_continuous_mode' accordingly to the file
standard naming.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omap-thermal/omap-bandgap.c

index 8746187..e325269 100644 (file)
@@ -735,7 +735,7 @@ omap_bandgap_force_single_read(struct omap_bandgap *bg_ptr, int id)
  *
  * Call this function only if HAS(MODE_CONFIG) is set
  */
-static int enable_continuous_mode(struct omap_bandgap *bg_ptr)
+static int omap_bandgap_set_continuous_mode(struct omap_bandgap *bg_ptr)
 {
        int i;
 
@@ -973,7 +973,7 @@ int omap_bandgap_probe(struct platform_device *pdev)
        }
 
        if (OMAP_BANDGAP_HAS(bg_ptr, MODE_CONFIG))
-               enable_continuous_mode(bg_ptr);
+               omap_bandgap_set_continuous_mode(bg_ptr);
 
        /* Set .250 seconds time as default counter */
        if (OMAP_BANDGAP_HAS(bg_ptr, COUNTER))