kbuild: trivial - use tabs for code indent where possible
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
7eb6e34052
commit
bb66fc6719
|
@ -650,13 +650,11 @@ static int do_of_entry (const char *filename, void *symval, char *alias)
|
||||||
DEF_FIELD_ADDR(symval, of_device_id, type);
|
DEF_FIELD_ADDR(symval, of_device_id, type);
|
||||||
DEF_FIELD_ADDR(symval, of_device_id, compatible);
|
DEF_FIELD_ADDR(symval, of_device_id, compatible);
|
||||||
|
|
||||||
len = sprintf (alias, "of:N%sT%s",
|
len = sprintf(alias, "of:N%sT%s", (*name)[0] ? *name : "*",
|
||||||
(*name)[0] ? *name : "*",
|
|
||||||
(*type)[0] ? *type : "*");
|
(*type)[0] ? *type : "*");
|
||||||
|
|
||||||
if (compatible[0])
|
if (compatible[0])
|
||||||
sprintf (&alias[len], "%sC%s",
|
sprintf(&alias[len], "%sC%s", (*type)[0] ? "*" : "",
|
||||||
(*type)[0] ? "*" : "",
|
|
||||||
*compatible);
|
*compatible);
|
||||||
|
|
||||||
/* Replace all whitespace with underscores */
|
/* Replace all whitespace with underscores */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user