crypto: hisilicon/zip - adjust functions location
authorYang Shen <shenyang39@huawei.com>
Sat, 27 Mar 2021 07:28:45 +0000 (15:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Apr 2021 07:28:13 +0000 (18:28 +1100)
commit30a4240e06ea7eecbc5645916501112ef8532533
tree869ea3d7d434e1b1b3a53fda42fad9e03aeeeb7a
parent5c083eb3e9ca32c0ef257246dc979c8853ffcdb1
crypto: hisilicon/zip - adjust functions location

This patch changes nothing about functions except location in order to make
code logic clearly.

This adjustment follows three principles:
1.The called functions are listed in order above the calling functions.
2.The paired functions are next to each other.
3.Logically similar functions are placed in the same area. Here, we use
the callback of 'acomp_alg' as the basis for dividing areas.

Signed-off-by: Yang Shen <shenyang39@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/zip/zip_crypto.c