Zheng Yang
2d8f7edfaa
rk1000: fix create sysfs file permission error.
Wrong permission will case following warning:
------------[ cut here ]------------
WARNING: at drivers/base/core.c:576 device_create_file+0x74/0xa4()
Attribute rkcontrl: write permission without 'store'
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #247
Call trace:
[<ffffffc000087dc0>] dump_backtrace+0x0/0x10c
[<ffffffc000087edc>] show_stack+0x10/0x1c
[<ffffffc00087c0e4>] dump_stack+0x1c/0x28
[<ffffffc0000a1b08>] warn_slowpath_common+0x74/0x9c
[<ffffffc0000a1b7c>] warn_slowpath_fmt+0x4c/0x58
[<ffffffc00036cfec>] device_create_file+0x70/0xa4
[<ffffffc000399fc4>] rk1000_probe+0x1d0/0x20c
[<ffffffc00058b190>] i2c_device_probe+0x9c/0xd4
[<ffffffc000370e70>] driver_probe_device+0xd0/0x210
[<ffffffc00037105c>] __driver_attach+0x60/0x90
[<ffffffc00036f394>] bus_for_each_dev+0x60/0x88
[<ffffffc00037096c>] driver_attach+0x1c/0x28
[<ffffffc000370540>] bus_add_driver+0xf4/0x210
[<ffffffc000371698>] driver_register+0xbc/0x138
[<ffffffc00058b054>] i2c_register_driver+0x48/0xac
[<ffffffc000bf2934>] rk1000_init+0x14/0x20
[<ffffffc000081554>] do_one_initcall+0x80/0x120
[<ffffffc000bdb8f0>] kernel_init_freeable+0x148/0x1e8
[<ffffffc000876a10>] kernel_init+0x10/0xcc
---[ end trace 1cc1e45d37744cff ]---
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-06-04 15:35:35 +08:00
..
2015-06-02 11:25:34 +08:00
2015-03-09 14:04:55 +08:00
2015-05-28 14:32:35 -07:00
2015-03-05 17:11:40 +08:00
2015-06-02 11:25:51 +08:00
2015-05-21 10:02:25 +08:00
2015-06-02 11:25:34 +08:00
2015-02-02 11:29:07 +00:00
2015-03-30 11:38:42 +08:00
2015-05-21 18:33:07 +08:00
2015-05-06 22:05:01 +08:00
2014-06-26 15:12:37 -04:00
2015-03-02 11:34:24 -07:00
2015-06-02 11:25:34 +08:00
2015-04-17 13:40:43 +08:00
2015-05-18 17:20:35 +08:00
2015-02-16 16:57:48 +09:00
2015-05-14 09:59:10 +08:00
2015-06-02 11:25:34 +08:00
2015-04-29 10:34:01 +02:00
2014-07-07 10:47:18 +08:00
2014-11-21 09:22:53 -08:00
2015-02-09 14:11:45 +08:00
2015-05-08 12:04:18 +01:00
2015-06-02 11:25:34 +08:00
2015-06-02 16:07:27 +08:00
2014-10-23 16:59:39 +08:00
2015-04-02 09:25:21 +08:00
2015-05-13 05:15:43 -07:00
2015-03-17 15:16:39 +08:00
2015-06-02 11:25:34 +08:00
2015-06-02 11:25:34 +08:00
2015-05-06 21:56:27 +02:00
2015-06-02 11:25:34 +08:00
2015-05-28 11:54:57 +08:00
2014-12-10 19:24:50 +08:00
2014-08-06 15:34:14 +08:00
2014-11-14 08:47:54 -08:00
2015-05-15 18:35:16 +08:00
2015-04-18 13:37:44 +08:00
2015-06-02 11:25:34 +08:00
2015-05-06 21:56:28 +02:00
2014-10-30 09:35:10 -07:00
2015-06-04 15:35:35 +08:00
2015-06-02 11:25:51 +08:00
2015-06-02 11:25:34 +08:00
2015-06-02 11:25:34 +08:00
2015-06-02 11:25:34 +08:00
2014-12-05 21:18:34 +08:00
2015-03-05 17:11:40 +08:00
2015-05-06 21:56:26 +02:00
2015-04-02 09:25:21 +08:00
2015-05-06 14:53:16 +08:00
2015-06-02 11:25:34 +08:00
2015-01-27 07:52:31 -08:00
2015-06-02 11:25:34 +08:00
2015-05-20 22:08:31 +08:00
2014-08-07 14:30:25 -07:00
2015-05-05 10:51:31 +08:00
2014-12-15 21:15:10 +08:00
2015-03-12 15:48:12 +08:00
2015-01-29 17:40:57 -08:00
2014-08-14 09:24:16 +08:00
2015-06-02 11:25:34 +08:00
2015-06-02 11:25:34 +08:00
2015-06-02 11:25:34 +08:00
2015-04-19 10:10:50 +02:00
2015-05-04 18:11:47 +08:00
2015-06-02 11:25:34 +08:00
2015-06-02 11:25:34 +08:00
2015-01-27 07:52:32 -08:00
2015-02-05 22:35:40 -08:00
2015-06-03 11:38:39 +08:00
2014-11-14 08:47:55 -08:00
2015-01-12 18:15:26 +08:00
2015-03-26 15:00:59 +01:00
2015-05-08 12:04:43 +01:00
2015-05-18 16:56:29 +08:00