summaryrefslogtreecommitdiff
path: root/drivers/hwmon/adm9240.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2019-02-12 09:06:57 +0300
committerWolfram Sang <wsa@the-dreams.de>2019-02-15 11:53:34 +0300
commit8a6d508a8055ea2ef8477e649662287e57727f54 (patch)
tree84889e3683f688f84d0861e4cdf79bc23eea94e4 /drivers/hwmon/adm9240.c
parent2e57b7cebb988a27cee44626ae91424e73823bfb (diff)
downloadlinux-8a6d508a8055ea2ef8477e649662287e57727f54.tar.xz
i2c: expand minor range when registering chrdev region
Actually, total amount of available minor number for a single major is MINORMASK + 1. So expand minor range when registering chrdev region. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> [wsa: fixed typo in commit message] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/hwmon/adm9240.c')
0 files changed, 0 insertions, 0 deletions