c424d46fdc
Assign dev only if fh is not NULL. Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Todo: - checkpatch.pl cleanups - sparse cleanups Please send patches to linux-media@vger.kernel.org