dm: spi: zynq_spi: Convert to driver model
authorJagan Teki <jteki@openedev.com>
Fri, 26 Jun 2015 19:21:31 +0000 (00:51 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 1 Jul 2015 15:45:03 +0000 (21:15 +0530)
commitb1c82da266f534813558b3a8e5d53f9055c5872a
treef5f72ada8d6fcc29b128ff24ef53154e90da34ac
parent5d69df3541c3c1a40ed71ff250b9c98bf2b9f582
dm: spi: zynq_spi: Convert to driver model

This converts the zynq spi driver to use the driver model.

Minimal functional changes like using meaningful name on
structure members wrt mainlined dm spi drivers.
- input_hz -> frequency
- req_hz -> freq
- base -> regs

Signed-off-by: Jagan Teki <jteki@openedev.com>
Acked-by: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Tested-by: Jagan Teki <jteki@openedev.com>
drivers/spi/zynq_spi.c