mtd: spi-nor: hisi: Avoid generic function names
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 10 Apr 2018 20:01:06 +0000 (17:01 -0300)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 20 Apr 2018 20:54:36 +0000 (22:54 +0200)
commit640702490d133cc91dec823ac7ef0f1e44eee447
tree1639f2b7c63859e318b5820583a07294ad6a260a
parentffa639e069fb55a150a2f14af6762b2c429e6d50
mtd: spi-nor: hisi: Avoid generic function names

Using generic names such as get_if_type() is frowned
upon: it suggests a core function (which is not),
and then it makes code navigation harder.

Given drivers are often used as starting point
to write other drivers, generic names tend to spread
like the flu. Cure the problem.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/spi-nor/hisi-sfc.c