@@ -94,12 +94,12 @@ static inline struct led_classdev_flash *lcdev_to_flcdev(
94
94
*
95
95
* Returns: 0 on success or negative error value on failure
96
96
*/
97
- extern int led_classdev_flash_register_ext (struct device * parent ,
98
- struct led_classdev_flash * fled_cdev ,
99
- struct led_init_data * init_data );
97
+ int led_classdev_flash_register_ext (struct device * parent ,
98
+ struct led_classdev_flash * fled_cdev ,
99
+ struct led_init_data * init_data );
100
100
101
101
static inline int led_classdev_flash_register (struct device * parent ,
102
- struct led_classdev_flash * fled_cdev )
102
+ struct led_classdev_flash * fled_cdev )
103
103
{
104
104
return led_classdev_flash_register_ext (parent , fled_cdev , NULL );
105
105
}
@@ -111,7 +111,7 @@ static inline int led_classdev_flash_register(struct device *parent,
111
111
*
112
112
* Unregister a previously registered via led_classdev_flash_register object
113
113
*/
114
- extern void led_classdev_flash_unregister (struct led_classdev_flash * fled_cdev );
114
+ void led_classdev_flash_unregister (struct led_classdev_flash * fled_cdev );
115
115
116
116
/**
117
117
* led_set_flash_strobe - setup flash strobe
@@ -159,8 +159,8 @@ static inline int led_get_flash_strobe(struct led_classdev_flash *fled_cdev,
159
159
*
160
160
* Returns: 0 on success or negative error value on failure
161
161
*/
162
- extern int led_set_flash_brightness (struct led_classdev_flash * fled_cdev ,
163
- u32 brightness );
162
+ int led_set_flash_brightness (struct led_classdev_flash * fled_cdev ,
163
+ u32 brightness );
164
164
165
165
/**
166
166
* led_update_flash_brightness - update flash LED brightness
@@ -171,7 +171,7 @@ extern int led_set_flash_brightness(struct led_classdev_flash *fled_cdev,
171
171
*
172
172
* Returns: 0 on success or negative error value on failure
173
173
*/
174
- extern int led_update_flash_brightness (struct led_classdev_flash * fled_cdev );
174
+ int led_update_flash_brightness (struct led_classdev_flash * fled_cdev );
175
175
176
176
/**
177
177
* led_set_flash_timeout - set flash LED timeout
@@ -182,8 +182,7 @@ extern int led_update_flash_brightness(struct led_classdev_flash *fled_cdev);
182
182
*
183
183
* Returns: 0 on success or negative error value on failure
184
184
*/
185
- extern int led_set_flash_timeout (struct led_classdev_flash * fled_cdev ,
186
- u32 timeout );
185
+ int led_set_flash_timeout (struct led_classdev_flash * fled_cdev , u32 timeout );
187
186
188
187
/**
189
188
* led_get_flash_fault - get the flash LED fault
@@ -194,7 +193,6 @@ extern int led_set_flash_timeout(struct led_classdev_flash *fled_cdev,
194
193
*
195
194
* Returns: 0 on success or negative error value on failure
196
195
*/
197
- extern int led_get_flash_fault (struct led_classdev_flash * fled_cdev ,
198
- u32 * fault );
196
+ int led_get_flash_fault (struct led_classdev_flash * fled_cdev , u32 * fault );
199
197
200
198
#endif /* __LINUX_FLASH_LEDS_H_INCLUDED */
0 commit comments