Patch "mtd: cfi: convert inline functions to macros" has been added to the 4.9-stable tree