drm/nouveau/secboot: rename init() hook to oneinit()
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 14 Dec 2016 08:02:35 +0000 (17:02 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:31 +0000 (15:14 +1000)
commit808d6efdeb361bd51c1afa2115db0e5f4fe6609d
tree2503300fc3e36accd29332796d6151426a8abab5
parentc8225b54fe1b0d64b7da2c0d1d5b64d316b248f5
drm/nouveau/secboot: rename init() hook to oneinit()

The init() hook is called by the subdev's oneinit(). Rename it
accordingly to avoid confusion about the lifetime of objects allocated
in it.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h