@@ -142,7 +142,7 @@ static int wait_for_ready(struct map_info *map, struct flchip *chip,
142142 if (dsr & DSR_READY_STATUS )
143143 break ;
144144 if (!timeo ) {
145- printk (KERN_ERR "%s: Flash timeout error state %d \n" ,
145+ printk (KERN_ERR "%s: Flash timeout error state %d\n" ,
146146 map -> name , chip_state );
147147 ret = - ETIME ;
148148 break ;
@@ -186,7 +186,7 @@ static int wait_for_ready(struct map_info *map, struct flchip *chip,
186186 if (dsr & DSR_ERR ) {
187187 /* Clear DSR*/
188188 map_write (map , CMD (~(DSR_ERR )), map -> pfow_base + PFOW_DSR );
189- printk (KERN_WARNING "%s: Bad status on wait: 0x%x \n" ,
189+ printk (KERN_WARNING "%s: Bad status on wait: 0x%x\n" ,
190190 map -> name , dsr );
191191 print_drs_error (dsr );
192192 ret = - EIO ;
@@ -321,7 +321,7 @@ static int chip_ready(struct map_info *map, struct flchip *chip, int mode)
321321 /* Resume and pretend we weren't here. */
322322 put_chip (map , chip );
323323 printk (KERN_ERR "%s: suspend operation failed."
324- "State may be wrong \n" , map -> name );
324+ "State may be wrong\n" , map -> name );
325325 return - EIO ;
326326 }
327327 chip -> erase_suspended = 1 ;
@@ -468,7 +468,7 @@ static int do_write_buffer(struct map_info *map, struct flchip *chip,
468468 chip -> state = FL_WRITING ;
469469 ret = wait_for_ready (map , chip , (1 <<lpddr -> qinfo -> ProgBufferTime ));
470470 if (ret ) {
471- printk (KERN_WARNING "%s Buffer program error: %d at %lx; \n" ,
471+ printk (KERN_WARNING "%s Buffer program error: %d at %lx\n" ,
472472 map -> name , ret , adr );
473473 goto out ;
474474 }
@@ -736,7 +736,7 @@ static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk)
736736
737737 ret = wait_for_ready (map , chip , 1 );
738738 if (ret ) {
739- printk (KERN_ERR "%s: block unlock error status %d \n" ,
739+ printk (KERN_ERR "%s: block unlock error status %d\n" ,
740740 map -> name , ret );
741741 goto out ;
742742 }
0 commit comments