drivers: staging: vme: Fixed the using of sizeof

Constructions that looks like
    card = kzalloc(sizeof(struct pio2_card), GFP_KERNEL);
  are changed to
    card = kzalloc(sizeof(*card), GFP_KERNEL);

Signed-off-by: Egor Uleyskiy <egor.ulieiskii@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Egor Uleyskiy 2015-11-22 11:27:54 +02:00 • committed by Greg Kroah-Hartman
commit 93a28666a9
2 changed files with 6 additions and 6 deletions