Commit 6e1e60da authored by Martin Sperl's avatar Martin Sperl Committed by Eric Anholt

clk: bcm2835: clean up coding style issues

Fix all the checkpatch complaints for clk-bcm2835.c
Signed-off-by: default avatarMartin Sperl <kernel@martin.sperl.org>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 959ca92a
...@@ -12,9 +12,6 @@ ...@@ -12,9 +12,6 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
/** /**
...@@ -299,7 +296,7 @@ ...@@ -299,7 +296,7 @@
struct bcm2835_cprman { struct bcm2835_cprman {
struct device *dev; struct device *dev;
void __iomem *regs; void __iomem *regs;
spinlock_t regs_lock; spinlock_t regs_lock; /* spinlock for all clocks */
const char *osc_name; const char *osc_name;
struct clk_onecell_data onecell; struct clk_onecell_data onecell;
...@@ -1386,7 +1383,6 @@ static u8 bcm2835_clock_get_parent(struct clk_hw *hw) ...@@ -1386,7 +1383,6 @@ static u8 bcm2835_clock_get_parent(struct clk_hw *hw)
return (src & CM_SRC_MASK) >> CM_SRC_SHIFT; return (src & CM_SRC_MASK) >> CM_SRC_SHIFT;
} }
static const struct clk_ops bcm2835_clock_clk_ops = { static const struct clk_ops bcm2835_clock_clk_ops = {
.is_prepared = bcm2835_clock_is_on, .is_prepared = bcm2835_clock_is_on,
.prepare = bcm2835_clock_on, .prepare = bcm2835_clock_on,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment