commit | 5817878c6f4221c3ace4af63260080635063371e | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Wed Jan 29 13:12:31 2014 +0100 |
committer | David Herrmann <dh.herrmann@gmail.com> | Sun Mar 16 12:25:19 2014 +0100 |
tree | ba64249ef8d6e98bcc4384158fea1fac59cf30a4 | |
parent | cb0f93238b89c6178842ba89ecc1cd311f1a3e75 [diff] |
drm: remove redundant minor->device field Whenever we access minor->device, we are in a minor->kdev->...->fops callback so the minor->kdev pointer *must* be valid. Thus, simply use minor->kdev->devt instead of minor->device and remove the redundant field. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>