[PATCH 2/3] pm8001: Fix erratic calculation in update_flash

2014-07-30 Thread Suresh Thiagarajan
From: Tomas Henzl The loopcount is calculated by using some weird magic. Use instead a boring macro Signed-off-by: Tomas Henzl Signed-off-by: Suresh Thiagarajan --- drivers/scsi/pm8001/pm8001_ctl.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/pm8

[PATCH 2/3] pm8001: Fix erratic calculation in update_flash

2014-07-30 Thread Suresh Thiagarajan
From: Suresh Thiagarajan The loopcount is calculated by using some weird magic. Use instead a boring macro Signed-off-by: Tomas Henzl Signed-off-by: Suresh Thiagarajan --- drivers/scsi/pm8001/pm8001_ctl.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/s