diff options
author | Derek Robson <robsonde@gmail.com> | 2017-03-27 16:14:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-29 09:04:50 +0200 |
commit | 976b7c8a05fdaacfea700cc99a46c87bac7c0712 (patch) | |
tree | f00f2a63d94b7fcefb1f44bc05ceaba82cc037c2 /drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.c | |
parent | 66695837e109310823c66c814a4ba068118ecd83 (diff) | |
download | linux-stable-976b7c8a05fdaacfea700cc99a46c87bac7c0712.tar.gz linux-stable-976b7c8a05fdaacfea700cc99a46c87bac7c0712.tar.bz2 linux-stable-976b7c8a05fdaacfea700cc99a46c87bac7c0712.zip |
Staging: atomisp - octal permissions, style fix
Changed permissions to octal style
Found using checkpatch
Signed-off-by: Derek Robson <robsonde@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.c')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.c index fcfe8d7190b0..1ae2358de8d4 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.c @@ -163,12 +163,9 @@ static ssize_t iunit_dbgopt_store(struct device_driver *drv, const char *buf, } static struct driver_attribute iunit_drvfs_attrs[] = { - __ATTR(dbglvl, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, iunit_dbglvl_show, - iunit_dbglvl_store), - __ATTR(dbgfun, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, iunit_dbgfun_show, - iunit_dbgfun_store), - __ATTR(dbgopt, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, iunit_dbgopt_show, - iunit_dbgopt_store), + __ATTR(dbglvl, 0644, iunit_dbglvl_show, iunit_dbglvl_store), + __ATTR(dbgfun, 0644, iunit_dbgfun_show, iunit_dbgfun_store), + __ATTR(dbgopt, 0644, iunit_dbgopt_show, iunit_dbgopt_store), }; static int iunit_drvfs_create_files(struct pci_driver *drv) |