Skip to content

Commit 07e53e6

Browse files
pH5intel-lab-lkp
authored andcommitted
reset: whitespace fixes
Fixes checkpatch issues: CHECK: Alignment should match open parenthesis torvalds#87: FILE: drivers/reset/core.c:87: +static int of_reset_simple_xlate(struct reset_controller_dev *rcdev, + const struct of_phandle_args *reset_spec) CHECK: Lines should not end with a '(' torvalds#540: FILE: drivers/reset/core.c:540: +static struct reset_control *__reset_control_get_internal( CHECK: Alignment should match open parenthesis torvalds#603: FILE: drivers/reset/core.c:603: +struct reset_control *__of_reset_control_get(struct device_node *node, + const char *id, int index, bool shared, CHECK: Alignment should match open parenthesis torvalds#781: FILE: drivers/reset/core.c:781: +struct reset_control *__devm_reset_control_get(struct device *dev, + const char *id, int index, bool shared, Signed-off-by: Philipp Zabel <[email protected]>
1 parent d176557 commit 07e53e6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

drivers/reset/core.c

+10-10
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static const char *rcdev_name(struct reset_controller_dev *rcdev)
8484
* without gaps.
8585
*/
8686
static int of_reset_simple_xlate(struct reset_controller_dev *rcdev,
87-
const struct of_phandle_args *reset_spec)
87+
const struct of_phandle_args *reset_spec)
8888
{
8989
if (reset_spec->args[0] >= rcdev->nr_resets)
9090
return -EINVAL;
@@ -610,9 +610,9 @@ void reset_control_release(struct reset_control *rstc)
610610
}
611611
EXPORT_SYMBOL_GPL(reset_control_release);
612612

613-
static struct reset_control *__reset_control_get_internal(
614-
struct reset_controller_dev *rcdev,
615-
unsigned int index, bool shared, bool acquired)
613+
static struct reset_control *
614+
__reset_control_get_internal(struct reset_controller_dev *rcdev,
615+
unsigned int index, bool shared, bool acquired)
616616
{
617617
struct reset_control *rstc;
618618

@@ -672,9 +672,9 @@ static void __reset_control_put_internal(struct reset_control *rstc)
672672
kref_put(&rstc->refcnt, __reset_control_release);
673673
}
674674

675-
struct reset_control *__of_reset_control_get(struct device_node *node,
676-
const char *id, int index, bool shared,
677-
bool optional, bool acquired)
675+
struct reset_control *
676+
__of_reset_control_get(struct device_node *node, const char *id, int index,
677+
bool shared, bool optional, bool acquired)
678678
{
679679
struct reset_control *rstc;
680680
struct reset_controller_dev *r, *rcdev;
@@ -850,9 +850,9 @@ static void devm_reset_control_release(struct device *dev, void *res)
850850
reset_control_put(*(struct reset_control **)res);
851851
}
852852

853-
struct reset_control *__devm_reset_control_get(struct device *dev,
854-
const char *id, int index, bool shared,
855-
bool optional, bool acquired)
853+
struct reset_control *
854+
__devm_reset_control_get(struct device *dev, const char *id, int index,
855+
bool shared, bool optional, bool acquired)
856856
{
857857
struct reset_control **ptr, *rstc;
858858

0 commit comments

Comments
 (0)