Commit 9adc8af4 authored by Dan Murphy's avatar Dan Murphy Committed by Pavel Machek
Browse files

leds: lm36274: Fix warning for undefined parameters



Fix warnings for undefined parameters when building with W=1.

Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
Reviewed-by: default avatarMarek Behún <kabel@kernel.org>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 9e955a42
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -26,8 +26,8 @@
 * @lmu_data: Register and setting values for common code
 * @lmu_data: Register and setting values for common code
 * @regmap: Devices register map
 * @regmap: Devices register map
 * @dev: Pointer to the devices device struct
 * @dev: Pointer to the devices device struct
 * @led_sources - The LED strings supported in this array
 * @led_sources: The LED strings supported in this array
 * @num_leds - Number of LED strings are supported in this array
 * @num_leds: Number of LED strings are supported in this array
 */
 */
struct lm36274 {
struct lm36274 {
	struct platform_device *pdev;
	struct platform_device *pdev;
@@ -160,6 +160,7 @@ static struct platform_driver lm36274_driver = {
	.probe  = lm36274_probe,
	.probe  = lm36274_probe,
	.driver = {
	.driver = {
		.name = "lm36274-leds",
		.name = "lm36274-leds",
		.of_match_table = of_lm36274_leds_match,
	},
	},
};
};
module_platform_driver(lm36274_driver)
module_platform_driver(lm36274_driver)