[MTD] Pre-CFI Sharp chip driver: Some speedups and cleanups