[PATCH 0/2] s2mps11 code refactoring

From: Andi Shyti
Date: Mon Jan 18 2016 - 03:25:52 EST


the two patches are related to some refactoring of the s2mps11
device driver.

The first patch is quite trivial, but it removes a variable which
I consider redundant and doesn't improve any readability.

The second patch is removing some structures which will be never
used in the kernel. The structure removed are merged in a single
more generic structure.


Andi Shyti (2):
clk: s2mps11: remove redundant variable
clk: s2mps11: allocate only one structure for clock init

drivers/clk/clk-s2mps11.c | 82 +++++++++++++----------------------------------
1 file changed, 23 insertions(+), 59 deletions(-)