[PATCH] Drivers: isdn: hisax: isac.c: Fix assignment and check into one expression.

2016-03-25 Thread Cosmin-Gabriel Samoila
Fix variable assignment inside if statement. It is error-prone and hard to read. Signed-off-by: Cosmin-Gabriel Samoila --- drivers/isdn/hisax/isac.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/isdn/hisax/isac.c b/drivers/isdn/hisax/isac.c index

[PATCH 2/2] isdn: hisax: isac: fixed code style issues.

2016-03-13 Thread Cosmin-Gabriel Samoila
Fixed errors and warnings reported by checkpatch.pl. Signed-off-by: Cosmin-Gabriel Samoila --- drivers/isdn/hisax/isac.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/drivers/isdn/hisax/isac.c b/drivers/isdn/hisax/isac.c index 7fdf78f