Skip to content

Commit

Permalink
regmap: sccb: fix typo and sort headers alphabetically
Browse files Browse the repository at this point in the history
Fix typos 's/wit/with/' in the comments and sort headers alphabetically
in order to avoid duplicate includes in future.

Fixes: bcf7eac ("regmap: add SCCB support")
Reported-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
mita authored and broonie committed Jul 23, 2018
1 parent 0afdd67 commit 75eb3a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/base/regmap/regmap-sccb.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
// Register map access API - SCCB support

#include <linux/regmap.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/regmap.h>

#include "internal.h"

Expand All @@ -29,7 +29,7 @@ static bool sccb_is_available(struct i2c_adapter *adap)

/**
* regmap_sccb_read - Read data from SCCB slave device
* @context: Device that will be interacted wit
* @context: Device that will be interacted with
* @reg: Register to be read from
* @val: Pointer to store read value
*
Expand Down Expand Up @@ -65,7 +65,7 @@ static int regmap_sccb_read(void *context, unsigned int reg, unsigned int *val)

/**
* regmap_sccb_write - Write data to SCCB slave device
* @context: Device that will be interacted wit
* @context: Device that will be interacted with
* @reg: Register to write to
* @val: Value to be written
*
Expand Down

0 comments on commit 75eb3a6

Please sign in to comment.