]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: Documentation/sysfs: rename interface and bundle attributes
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 25 Nov 2015 14:06:41 +0000 (15:06 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 25 Nov 2015 23:46:00 +0000 (15:46 -0800)
commit32945d6ecc89331f10d715496fd2247f958d471e
treee9d0469b54f20f4c67ed8e501a37000ca59da896
parent47091af91e7e872748a17158f1e99833962428b4
greybus: Documentation/sysfs: rename interface and bundle attributes

Update the example sysfs-tree layout under Documentation due renamed
interface and bundle attributes.

The interface and bundle "id" attributes have been renamed
"interface_id" and "bundle_id" respectively to make them self
describing. For consistency reasons the bundle class attribute is
renamed as "bundle_class".

.
├── greybus1
│   ├── 1-2
│   │   ├── 1-2.1
│   │   │   ├── bundle_class
│   │   │   ├── bundle_id
│   │   │   └── state
│   │   ├── 1-2.2
│   │   │   ├── bundle_class
│   │   │   ├── bundle_id
│   │   │   └── state
│   │   ├── interface_id
│   │   ├── product_id
│   │   ├── unique_id
│   │   └── vendor_id
│   ├── 1-4
│   │   ├── 1-4.2
│   │   │   ├── bundle_class
│   │   │   ├── bundle_id
│   │   │   ├── gpbridge0
│   │   │   │   ├── gpio
│   │   │   │   │   └── gpiochip490
│   │   │   │   └── i2c-4
│   │   │   └── state
│   │   ├── interface_id
│   │   ├── product_id
│   │   ├── unique_id
│   │   └── vendor_id
│   └── 1-svc
│       ├── ap_intf_id
│       ├── eject
│       ├── endo_id
│       └── unique_id
└── greybus2
    ├── 2-3
    │   ├── 2-3.1
    │   │   ├── bundle_class
    │   │   ├── bundle_id
    │   │   └── state
    │   ├── interface_id
    │   ├── product_id
    │   ├── unique_id
    │   └── vendor_id
    └── 2-svc
        ├── ap_intf_id
        ├── eject
        ├── endo_id
        └── unique_id

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
22 files changed:
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/1-2.1/bundle_class [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/1-2.1/bundle_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/1-2.1/class [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/1-2.1/id [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/1-2.2/bundle_class [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/1-2.2/bundle_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/1-2.2/class [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/1-2.2/id [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/id [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/interface_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/1-4.2/bundle_class [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/1-4.2/bundle_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/1-4.2/class [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/1-4.2/id [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/id [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/interface_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/2-3.1/bundle_class [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/2-3.1/bundle_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/2-3.1/class [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/2-3.1/id [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/id [deleted file]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/interface_id [new file with mode: 0644]