Skip to content

Commit

Permalink
regulator: max77650: Fix include files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Jan 30, 2019
1 parent 0eca80b commit 5358db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/max77650-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5358db5

Please sign in to comment.