summaryrefslogtreecommitdiff
path: root/drivers/powercap
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-13 22:25:54 +0300
committerChristoph Hellwig <hch@lst.de>2018-05-16 08:24:30 +0300
commitec7d9c9ce897174243af4fcd201dbfc34df0f3a3 (patch)
treeb8d010de43bd1a5b1faefd204b3d2447502bb0e4 /drivers/powercap
parent61fb5c043f92f5be4612b7511dcaf3f3fe6ab4c1 (diff)
downloadlinux-ec7d9c9ce897174243af4fcd201dbfc34df0f3a3.tar.xz
ide: replace ->proc_fops with ->proc_show
Just set up the show callback in the tty_operations, and use proc_create_single_data to create the file without additional boilerplace code. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions