mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
mtd: cleanup style on pr_debug messages
Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
This commit is contained in:
committed by
Artem Bityutskiy
parent
289c052221
commit
0a32a10264
@@ -440,8 +440,8 @@ struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary)
|
||||
mtd->writesize = 1;
|
||||
mtd->writebufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize;
|
||||
|
||||
pr_debug("MTD %s(): write buffer size %d\n",
|
||||
__func__, mtd->writebufsize);
|
||||
pr_debug("MTD %s(): write buffer size %d\n", __func__,
|
||||
mtd->writebufsize);
|
||||
|
||||
mtd->reboot_notifier.notifier_call = cfi_amdstd_reboot;
|
||||
|
||||
@@ -1798,8 +1798,7 @@ static int do_atmel_lock(struct map_info *map, struct flchip *chip,
|
||||
goto out_unlock;
|
||||
chip->state = FL_LOCKING;
|
||||
|
||||
pr_debug("MTD %s(): LOCK 0x%08lx len %d\n",
|
||||
__func__, adr, len);
|
||||
pr_debug("MTD %s(): LOCK 0x%08lx len %d\n", __func__, adr, len);
|
||||
|
||||
cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi,
|
||||
cfi->device_type, NULL);
|
||||
@@ -1834,8 +1833,7 @@ static int do_atmel_unlock(struct map_info *map, struct flchip *chip,
|
||||
goto out_unlock;
|
||||
chip->state = FL_UNLOCKING;
|
||||
|
||||
pr_debug("MTD %s(): LOCK 0x%08lx len %d\n",
|
||||
__func__, adr, len);
|
||||
pr_debug("MTD %s(): LOCK 0x%08lx len %d\n", __func__, adr, len);
|
||||
|
||||
cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi,
|
||||
cfi->device_type, NULL);
|
||||
|
||||
Reference in New Issue
Block a user