Dan Carpenter 225f1eaed0 sata_highbank: clear whole array in highbank_initialize_phys()
The original code used the wrong parameter to clear tx_atten[].  It
passed the number of elements instead of sizeof() the array to memset.

The other potential issue was that cphy_base[] wasn't cleared.  I'm not
sure if that was a real problem or not, but I have cleared it in my
patch.

Instead of using memset(), this patch uses empty initializers as a
cleanup.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2013-10-27 08:11:54 -04:00
..
2013-10-15 08:47:00 -04:00
2012-07-25 15:12:11 -04:00
2013-07-26 08:57:56 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-07-30 08:59:24 -04:00
2013-07-30 08:59:24 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-07-30 08:59:24 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-07-30 08:59:24 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-07-30 08:59:24 -04:00
2013-07-30 08:59:24 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2008-01-23 05:24:15 -05:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-04-09 14:13:28 -04:00
2012-07-25 15:12:11 -04:00
2007-07-02 10:17:42 -04:00