platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into...
authorRoman Kiryanov <rkir@google.com>
Wed, 3 Oct 2018 17:17:07 +0000 (10:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Oct 2018 18:36:46 +0000 (20:36 +0200)
commit43c2cc2864bca0cceff331f27fe762fcf0d804b2
treecae8b7309f921061b1841f0e1fa0da545c090d1a
parentc394cc3b470c0adfee2dff4b8b2a907a73a0ee81
platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into the driver state

This is a series of patches to move mutable file-scope variables
into the driver state. This change will help to introduce another
version of the pipe driver (with different state) for the older
host interface or having several instances of this device.

Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/goldfish/goldfish_pipe.c