regulator: max77650: Fix include files
authorAxel Lin <axel.lin@ingics.com>
Wed, 30 Jan 2019 09:07:21 +0000 (17:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 30 Jan 2019 15:20:05 +0000 (15:20 +0000)
This is a platform driver, no need to include linux/i2c.h.
Include linux/of.h for of_match_ptr.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77650-regulator.c

index 474f2c02f2d5bdb5664088695df2a817e59d4550..5afb91400832a1326f77ab4ab03a18008a632b6f 100644 (file)
@@ -5,7 +5,7 @@
 //
 // Regulator driver for MAXIM 77650/77651 charger/power-supply.
 
-#include <linux/i2c.h>
+#include <linux/of.h>
 #include <linux/mfd/max77650.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>