pcd: cleanup initialization
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Sep 2021 22:01:04 +0000 (15:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:41:36 +0000 (14:41 -0600)
commitaf761f277b7fd896c27cb1100b25f11567987822
tree4d2d7012f4dfad8378380bc69817e1fd390db1e0
parent7d8b72aaddd3ec5f350d3e9988d6735a7b9b18e9
pcd: cleanup initialization

Refactor the pcd initialization to have a dedicated helper to initialize
a single disk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/paride/pcd.c