Skip to content

Commit 75eb3a6

Browse files
mitabroonie
authored andcommitted
regmap: sccb: fix typo and sort headers alphabetically
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>
1 parent 0afdd67 commit 75eb3a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/base/regmap/regmap-sccb.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// SPDX-License-Identifier: GPL-2.0
22
// Register map access API - SCCB support
33

4-
#include <linux/regmap.h>
54
#include <linux/i2c.h>
65
#include <linux/module.h>
6+
#include <linux/regmap.h>
77

88
#include "internal.h"
99

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

3030
/**
3131
* regmap_sccb_read - Read data from SCCB slave device
32-
* @context: Device that will be interacted wit
32+
* @context: Device that will be interacted with
3333
* @reg: Register to be read from
3434
* @val: Pointer to store read value
3535
*
@@ -65,7 +65,7 @@ static int regmap_sccb_read(void *context, unsigned int reg, unsigned int *val)
6565

6666
/**
6767
* regmap_sccb_write - Write data to SCCB slave device
68-
* @context: Device that will be interacted wit
68+
* @context: Device that will be interacted with
6969
* @reg: Register to write to
7070
* @val: Value to be written
7171
*

0 commit comments

Comments
 (0)