Skip to content

Commit eba933c

Browse files
guohanjunrafaeljw
authored andcommitted
cpuidle: sysfs: Minor coding style corrections
Fix two minor coding style issues. Signed-off-by: Hanjun Guo <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 2f516e7 commit eba933c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/cpuidle/sysfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,12 @@ static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *k
426426
#define attr_to_stateattr(a) container_of(a, struct cpuidle_state_attr, attr)
427427

428428
static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr,
429-
char * buf)
429+
char *buf)
430430
{
431431
int ret = -EIO;
432432
struct cpuidle_state *state = kobj_to_state(kobj);
433433
struct cpuidle_state_usage *state_usage = kobj_to_state_usage(kobj);
434-
struct cpuidle_state_attr * cattr = attr_to_stateattr(attr);
434+
struct cpuidle_state_attr *cattr = attr_to_stateattr(attr);
435435

436436
if (cattr->show)
437437
ret = cattr->show(state, state_usage, buf);

0 commit comments

Comments
 (0)