gpiolib: cdev: rename priv to cdev
authorKent Gibson <warthog618@gmail.com>
Wed, 8 Jul 2020 04:15:52 +0000 (12:15 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Sun, 12 Jul 2020 08:22:00 +0000 (10:22 +0200)
commite2b781c5f0dd45f632b3e15bbca702d1d140fce7
tree8e50b4e9401eea27ea28de901d76a204ec02f41f
parent6accc376a7482ecec2537e3e092b4f06e11d5994
gpiolib: cdev: rename priv to cdev

Rename priv to cdev to improve readability.

The name "priv" indicates that the object is pointed to by
file->private_data, not what the object is actually is.
As it is always used to point to a struct gpio_chardev_data, renaming
it to cdev is more appropriate.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpiolib-cdev.c