backlight: backlight: Drop extern from prototypes
[linux-2.6-microblaze.git] / include / linux / backlight.h
index d0f01dc..c182442 100644 (file)
@@ -417,23 +417,26 @@ static inline bool backlight_is_blank(const struct backlight_device *bd)
               bd->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK);
 }
 
-extern struct backlight_device *backlight_device_register(const char *name,
-       struct device *dev, void *devdata, const struct backlight_ops *ops,
-       const struct backlight_properties *props);
-extern struct backlight_device *devm_backlight_device_register(
-       struct device *dev, const char *name, struct device *parent,
-       void *devdata, const struct backlight_ops *ops,
-       const struct backlight_properties *props);
-extern void backlight_device_unregister(struct backlight_device *bd);
-extern void devm_backlight_device_unregister(struct device *dev,
-                                       struct backlight_device *bd);
-extern void backlight_force_update(struct backlight_device *bd,
-                                  enum backlight_update_reason reason);
-extern int backlight_register_notifier(struct notifier_block *nb);
-extern int backlight_unregister_notifier(struct notifier_block *nb);
-extern struct backlight_device *backlight_device_get_by_type(enum backlight_type type);
+struct backlight_device *
+backlight_device_register(const char *name, struct device *dev, void *devdata,
+                         const struct backlight_ops *ops,
+                         const struct backlight_properties *props);
+struct backlight_device *
+devm_backlight_device_register(struct device *dev, const char *name,
+                              struct device *parent, void *devdata,
+                              const struct backlight_ops *ops,
+                              const struct backlight_properties *props);
+void backlight_device_unregister(struct backlight_device *bd);
+void devm_backlight_device_unregister(struct device *dev,
+                                     struct backlight_device *bd);
+void backlight_force_update(struct backlight_device *bd,
+                           enum backlight_update_reason reason);
+int backlight_register_notifier(struct notifier_block *nb);
+int backlight_unregister_notifier(struct notifier_block *nb);
 struct backlight_device *backlight_device_get_by_name(const char *name);
-extern int backlight_device_set_brightness(struct backlight_device *bd, unsigned long brightness);
+struct backlight_device *backlight_device_get_by_type(enum backlight_type type);
+int backlight_device_set_brightness(struct backlight_device *bd,
+                                   unsigned long brightness);
 
 #define to_backlight_device(obj) container_of(obj, struct backlight_device, dev)