diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-07-30 04:46:03 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-07-30 15:03:01 +0200 |
commit | e0067f0b71a2b5d1c5d8df556830db253aa1b264 (patch) | |
tree | bb6b3b18aa10016e43183a6f5338adea2e47fb7e /drivers/ata/sata_via.c | |
parent | ata: use dev_get_platdata() (diff) | |
download | linux-e0067f0b71a2b5d1c5d8df556830db253aa1b264.tar.xz linux-e0067f0b71a2b5d1c5d8df556830db253aa1b264.zip |
sata_mv: Remove unneeded CONFIG_HAVE_CLK ifdefs
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>
Diffstat (limited to 'drivers/ata/sata_via.c')
0 files changed, 0 insertions, 0 deletions