Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d047d6c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown
Browse files

regulator: max14577: Remove unused state container definition



Remove the "struct max14577_regulator" because this is not used
anywhere. It should be removed earlier along with changing the driver
after review on the mailing lists.

Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 38dbfb59
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
/*
 * max14577.c - Regulator driver for the Maxim 14577
 *
 * Copyright (C) 2013 Samsung Electronics
 * Copyright (C) 2013,2014 Samsung Electronics
 * Krzysztof Kozlowski <k.kozlowski@samsung.com>
 *
 * This program is free software; you can redistribute it and/or modify
@@ -22,12 +22,6 @@
#include <linux/mfd/max14577-private.h>
#include <linux/regulator/of_regulator.h>

struct max14577_regulator {
	struct device *dev;
	struct max14577 *max14577;
	struct regulator_dev **regulators;
};

static int max14577_reg_is_enabled(struct regulator_dev *rdev)
{
	int rid = rdev_get_id(rdev);