1 From 6bdeaf1c6d46819acb01de258574759e21f021d1 Mon Sep 17 00:00:00 2001
2 From: Martin Sperl <kernel@martin.sperl.org>
3 Date: Mon, 29 Feb 2016 11:39:22 +0000
4 Subject: [PATCH 260/304] clk: bcm2835: clean up coding style issues
6 Fix all the checkpatch complaints for clk-bcm2835.c
8 Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
9 Signed-off-by: Eric Anholt <eric@anholt.net>
10 (cherry picked from commit 6e1e60dacee7b32aef1468ea461b02e4c7a90a45)
12 drivers/clk/bcm/clk-bcm2835.c | 8 ++------
13 1 file changed, 2 insertions(+), 6 deletions(-)
15 --- a/drivers/clk/bcm/clk-bcm2835.c
16 +++ b/drivers/clk/bcm/clk-bcm2835.c
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 - * You should have received a copy of the GNU General Public License
22 - * along with this program; if not, write to the Free Software
23 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 struct bcm2835_cprman {
31 - spinlock_t regs_lock;
32 + spinlock_t regs_lock; /* spinlock for all clocks */
35 struct clk_onecell_data onecell;
36 @@ -1340,7 +1337,7 @@ static int bcm2835_clock_set_rate(struct
39 static int bcm2835_clock_determine_rate(struct clk_hw *hw,
40 - struct clk_rate_request *req)
41 + struct clk_rate_request *req)
43 struct bcm2835_clock *clock = bcm2835_clock_from_hw(hw);
44 struct clk_hw *parent, *best_parent = NULL;
45 @@ -1398,7 +1395,6 @@ static u8 bcm2835_clock_get_parent(struc
46 return (src & CM_SRC_MASK) >> CM_SRC_SHIFT;
50 static const struct clk_ops bcm2835_clock_clk_ops = {
51 .is_prepared = bcm2835_clock_is_on,
52 .prepare = bcm2835_clock_on,