sata_mv: Remove unneeded CONFIG_HAVE_CLK ifdefs
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 30 Jul 2013 02:46:03 +0000 (23:46 -0300)
committerTejun Heo <tj@kernel.org>
Tue, 30 Jul 2013 13:03:01 +0000 (09:03 -0400)
If CONFIG_HAVE_CLK is not selected, then all the clk API turn out
into no-ops. In other words, there's no need to have the ifdefs.

The only side-effect of this patch is the extra tiny kmalloc,
but that's not enough reason to have such ugly ifdefs all around
the code.

tj: Slightly massaged comment as per Andrew Lunn.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_mv.c

Simple merge