sound/sb_ess: white space cleanups

These weren't aligned on the same lines as the surrounding code and the
printk was quite messy.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Dan Carpenter 2015-02-25 16:31:43 +03:00 committed by Takashi Iwai
parent df403869e3
commit e214e5183d
1 changed files with 7 additions and 12 deletions

View File

@ -604,7 +604,7 @@ static void ess_audio_output_block_audio2
ess_chgmixer (devc, 0x78, 0x03, 0x03); /* Go */ ess_chgmixer (devc, 0x78, 0x03, 0x03); /* Go */
devc->irq_mode_16 = IMODE_OUTPUT; devc->irq_mode_16 = IMODE_OUTPUT;
devc->intr_active_16 = 1; devc->intr_active_16 = 1;
} }
static void ess_audio_output_block static void ess_audio_output_block
@ -1183,17 +1183,12 @@ FKS_test (devc);
chip = "ES1688"; chip = "ES1688";
} }
printk ( KERN_INFO "ESS chip %s %s%s\n" printk(KERN_INFO "ESS chip %s %s%s\n", chip,
, chip (devc->sbmo.esstype == ESSTYPE_DETECT ||
, ( devc->sbmo.esstype == ESSTYPE_DETECT || devc->sbmo.esstype == ESSTYPE_LIKE20 devc->sbmo.esstype == ESSTYPE_LIKE20) ?
? "detected" "detected" : "specified",
: "specified" devc->sbmo.esstype == ESSTYPE_LIKE20 ?
) " (kernel 2.0 compatible)" : "");
, ( devc->sbmo.esstype == ESSTYPE_LIKE20
? " (kernel 2.0 compatible)"
: ""
)
);
sprintf(name,"ESS %s AudioDrive (rev %d)", chip, ess_minor & 0x0f); sprintf(name,"ESS %s AudioDrive (rev %d)", chip, ess_minor & 0x0f);
} else { } else {