OSDN Git Service

mtd: pismo: Simplify getting the adapter of a client
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 18:15:49 +0000 (20:15 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 15 Sep 2019 21:50:39 +0000 (23:50 +0200)
commit752031210ca14571dc9b9bb2ebd22b626b9e4a4b
tree33955ff783fad5ec745b5ece1c368770290bd388
parentf3d45ac21e464f24cb97b3f6cc68be8eef7f7b56
mtd: pismo: Simplify getting the adapter of a client

We have a dedicated pointer for that, so use it. Much easier to read and
less computation involved.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/maps/pismo.c