[added to the 4.1 stable tree] mtd: cfi: convert inline functions to macros